Correct stdin/stdout usage in COPY .. PROGRAM

Stephen Frost <sfrost@snowman.net>

Commit: 9adda98c7738f5a8d4fdaa5a7a5bfb3f11c94899
Author: Stephen Frost <sfrost@snowman.net>
Date: 2014-09-30T20:00:38Z
Releases: 9.3.6
Correct stdin/stdout usage in COPY .. PROGRAM

The COPY documentation incorrectly stated, for the PROGRAM case,
that we read from stdin and wrote to stdout.  Fix that, and improve
consistency by referring to the 'PostgreSQL' user instead of the
'postgres' user, as is done in the rest of the COPY documentation.

Pointed out by Peter van Dijk.

Back-patch to 9.3 where COPY .. PROGRAM was introduced.

Files

PathChange+/−
doc/src/sgml/ref/copy.sgml modified +8 −6