Implement '\copy from -' to support reading copy data from the same
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Jan 2004 23:48:56 +0000 (23:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 20 Jan 2004 23:48:56 +0000 (23:48 +0000)
commit04cc4e18dd34f3c301237e60058cc7a00bad41f4
tree3c559b31c951a66b55492a16c4f098eeb3165485
parent0f8a3135088519f60946a1f8d8f75cfe1e9b55b8
Implement '\copy from -' to support reading copy data from the same
source the \copy came from.  Also, fix prompting logic so that initial
and per-line prompts appear for all cases of reading from an interactive
terminal.  Patch by Mark Feit, with some kibitzing by Tom Lane.
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/common.c
src/bin/psql/copy.c
src/bin/psql/copy.h