Re: Current-stream read for psql's \copy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mfeit+postgresql(at)notonthe(dot)net (Mark Feit)
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Current-stream read for psql's \copy
Date: 2004-01-20 23:50:03
Message-ID: 27718.1074642603@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

mfeit+postgresql(at)notonthe(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-01-20 23:56:12 Re: Slow query - index not used
Previous Message Peter Eisentraut 2004-01-20 22:26:53 Re: Allow backend to output result sets in XML

Browse pgsql-patches by date

  From Date Subject
Next Message Bill Moran 2004-01-21 01:16:55 Re: Patch to bring \copy syntax more in line with SQL copy
Previous Message Neil Conway 2004-01-20 23:31:38 Re: Patch to bring \copy syntax more in line with SQL