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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 9454265eb26ac87e71f4af5853281fa166f55b79
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2021-08-17T08:17:59Z
Releases: 12.9
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