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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 087c1a2f119b3e27ef989d414750709f7bef3cb8
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2021-08-17T08:21:27Z
Releases: 9.6.24
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