Re: [HACKERS] psql -f inconsistency with "copy from stdin" - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] psql -f inconsistency with "copy from stdin"
Date
Msg-id Pine.LNX.4.21.0001122057120.1646-100000@localhost.localdomain
Whole thread Raw
In response to Re: [HACKERS] psql -f inconsistency with "copy from stdin"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2000-01-12, Tom Lane mentioned:

> It seems to me that we ought to provide both behaviors, but make sure
> that the one that supports data-in-the-script is the one invoked by
> COPY FROM STDIN (since that's what pg_dump uses).  Perhaps psql's \copy
> command can be set up to support the other alternative.

\copy from stdin is not used yet. That would work. There might be issues
I'm overlooking now, but anything else that came up in this thread will
most likely not work in the general case.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Status request for 7.0
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] TODO list updated