]> 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 07:01:24 +0000 (10:01 +0300)
commitf90c05959ec3fb712cba889817e0a0689fa6fa89
tree3b56b9df88e1f66fbed25d881fa042fb1c02726d
parentb3d24cc0f0aa882ceec0a74a99f94166c6fc3247
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