diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-20 23:48:56 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-01-20 23:48:56 +0000 |
commit | 04cc4e18dd34f3c301237e60058cc7a00bad41f4 (patch) | |
tree | 3c559b31c951a66b55492a16c4f098eeb3165485 /src/bin/psql/copy.h | |
parent | 0f8a3135088519f60946a1f8d8f75cfe1e9b55b8 (diff) | |
download | postgresql-04cc4e18dd34f3c301237e60058cc7a00bad41f4.tar.gz postgresql-04cc4e18dd34f3c301237e60058cc7a00bad41f4.zip |
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.
Diffstat (limited to 'src/bin/psql/copy.h')
-rw-r--r-- | src/bin/psql/copy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/copy.h b/src/bin/psql/copy.h index 0f6a6887969..8daf4a2609a 100644 --- a/src/bin/psql/copy.h +++ b/src/bin/psql/copy.h @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/copy.h,v 1.14 2003/11/29 19:52:06 pgsql Exp $ + * $PostgreSQL: pgsql/src/bin/psql/copy.h,v 1.15 2004/01/20 23:48:56 tgl Exp $ */ #ifndef COPY_H #define COPY_H @@ -17,6 +17,6 @@ bool do_copy(const char *args); /* lower level processors for copy in/out streams */ bool handleCopyOut(PGconn *conn, FILE *copystream); -bool handleCopyIn(PGconn *conn, FILE *copystream, const char *prompt); +bool handleCopyIn(PGconn *conn, FILE *copystream); #endif |