]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:21:06 +0000 (11:21 +0300)
commit7d6d1555926ae6c5b24016a3399b5cdf73fe712f
treedeb6f4d77d87c998920970be56a324194c1ff7ca
parent024fd44e0566fe2db264aaa3c6d45d0dfdd30b60
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