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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: c9e75c21d8c96c9385fdb3693d35628a2a625630
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2021-08-17T08:17:53Z
Releases: 13.5
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