doc: \123 and \x12 escapes in COPY are in database encoding.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 17 Aug 2021 07:00:06 +0000 (10:00 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 17 Aug 2021 08:17:53 +0000 (11:17 +0300)
commitc9e75c21d8c96c9385fdb3693d35628a2a625630
treef8da12dd78c7734b49177c2edb68599c5396e88c
parent7f0873f328efe057090071805be3f1ade48ecc8a
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
doc/src/sgml/ref/copy.sgml