Re: Current-stream read for psql's \copy - Mailing list pgsql-patches

From Tom Lane
Subject Re: Current-stream read for psql's \copy
Date
Msg-id 27718.1074642603@sss.pgh.pa.us
Whole thread Raw
In response to Current-stream read for psql's \copy  (mfeit+postgresql@notonthe.net (Mark Feit))
List pgsql-patches
mfeit+postgresql@notonthe.net (Mark Feit) writes:
> This patch against 7.4.1's psql and the documentation adds the option
> of reading rows from the "current" input stream (standard input, -f
> xxx, \i xxx) during a "\copy ... from" operation in psql.

Applied with some editorialization (the prompting logic didn't work
right, and I didn't see the value of exporting struct copy_options).

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: Patch to bring \copy syntax more in line with SQL
Next
From: Bill Moran
Date:
Subject: Re: Patch to bring \copy syntax more in line with SQL copy