Correct stdin/stdout usage in COPY .. PROGRAM

Stephen Frost <sfrost@snowman.net>

Commit: 721a8bb54602624b24d416f8d9b7b8f97701ecbd
Author: Stephen Frost <sfrost@snowman.net>
Date: 2014-09-30T20:00:34Z
Releases: 9.4.0
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