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