Make the COPY command return a command tag that includes the number of
Tom Lane <tgl@sss.pgh.pa.us>
Make the COPY command return a command tag that includes the number of rows copied. Backend side of Volkan Yazici's recent patch, with corrections and documentation.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +12 −3 |
| doc/src/sgml/ref/copy.sgml | modified | +15 −1 |
| src/backend/commands/copy.c | modified | +18 −2 |
| src/backend/tcop/utility.c | modified | +8 −2 |
| src/include/commands/copy.h | modified | +2 −2 |