diff options
-rw-r--r-- | doc/src/sgml/ref/copy.sgml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 4c1e7dfef32..718bf477aeb 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -628,12 +628,12 @@ COPY <replaceable class="parameter">count</replaceable> <row> <entry><literal>\</literal><replaceable>digits</replaceable></entry> <entry>Backslash followed by one to three octal digits specifies - the character with that numeric code</entry> + the byte with that numeric code</entry> </row> <row> <entry><literal>\x</literal><replaceable>digits</replaceable></entry> <entry>Backslash <literal>x</literal> followed by one or two hex digits specifies - the character with that numeric code</entry> + the byte with that numeric code</entry> </row> </tbody> </tgroup> @@ -666,6 +666,12 @@ COPY <replaceable class="parameter">count</replaceable> </para> <para> + All backslash sequences are interpreted after encoding conversion. + The bytes specified with the octal and hex-digit backslash sequences must + form valid characters in the database encoding. + </para> + + <para> <command>COPY TO</command> will terminate each row with a Unix-style newline (<quote><literal>\n</literal></quote>). Servers running on Microsoft Windows instead output carriage return/newline (<quote><literal>\r\n</literal></quote>), but only for |