psql did the wrong thing with COPY FROM STDIN inside a file

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1ae6739ee1c3ad3ce48241c52ef4ee8fd9b7eca2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1999-04-15T02:24:41Z
Releases: 7.1.1
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

PathChange+/−
src/bin/psql/psql.c modified +73 −65