doc: \123 and \x12 escapes in COPY are in database encoding.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 7d6d1555926ae6c5b24016a3399b5cdf73fe712f
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2021-08-17T08:21:06Z
Releases: 10.19
doc: \123 and \x12 escapes in COPY are in database encoding.

The backslash sequences, including \123 and \x12 escapes, are interpreted
after encoding conversion. The docs failed to mention that.

Backpatch to all supported versions.

Reported-by: Andreas Grob
Discussion: https://www.postgresql.org/message-id/17142-9181542ca1df75ab%40postgresql.org

Files

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

Documentation touched

Discussion