2 ms·
You can't RETURNING from a copy, but you can `CREATE TEMP TABLE foo ON COMMIT DROP`, `COPY` into foo, then `INSERT INTO bar RETURNING` from the temp table.
by Smaug123 6y ago
You can't RETURNING from a copy, but you can `CREATE TEMP TABLE foo ON COMMIT DROP`, `COPY` into foo, then `INSERT INTO bar RETURNING` from the temp table.