psql did the wrong thing with COPY FROM STDIN inside a file
Tom Lane <tgl@sss.pgh.pa.us>
psql did the wrong thing with COPY FROM STDIN inside a file sourced with \i (tried to read data from the terminal, rather than from the source file; this breaks pg_dump scripts read with \i). Also, \o file followed by COPY TO STDOUT wrote to terminal not designated file. All better now.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/psql.c | modified | +73 −65 |