Correct stdin/stdout usage in COPY .. PROGRAM
authorStephen Frost <sfrost@snowman.net>
Tue, 30 Sep 2014 19:55:28 +0000 (15:55 -0400)
committerStephen Frost <sfrost@snowman.net>
Tue, 30 Sep 2014 20:00:38 +0000 (16:00 -0400)
commit9adda98c7738f5a8d4fdaa5a7a5bfb3f11c94899
tree5ff8ba04f71c93a804d3a58499bafe5fb9596ec9
parentd72ecc91c38b0d117f8d2137ab920f6cbc6e913d
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.
doc/src/sgml/ref/copy.sgml