On 01/04/2014 04:39 PM, Martijn van Oosterhout wrote:

Why switch between COPY commands, why could you not do it in one? For
example:

COPY table1(col1, col2, ...),
      table2(col1, col2, ...)
FROM STDIN WITH (tableoids);
tableoid1<tab>col1<tab>col2...
tableoid2<tab>...
...
\.

My originally idea was to avoid any server-side changes, so that applications do not need fallback code for talking to old servers.

--
Florian Weimer / Red Hat Product Security Team


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to