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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: e9a79c220bf55e179bb8e0c37fca1239e0fb3b0b
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2021-08-17T07:00:06Z
Releases: 15.0
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