Fix psql's \copy to accept table names containing schemas, as well as
Tom Lane <tgl@sss.pgh.pa.us>
Fix psql's \copy to accept table names containing schemas, as well as a column list. Bring its parsing of quoted names and quoted strings somewhat up to speed --- I believe it now handles all non-error cases the same way the backend would, but weird boundary conditions are not necessarily done the same way.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +6 −4 |
| src/bin/psql/copy.c | modified | +195 −124 |
| src/bin/psql/stringutils.c | modified | +166 −94 |
| src/bin/psql/stringutils.h | modified | +5 −5 |