pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: \123 and \x12 escapes in COPY are in database encoding.
Date: Tue, 17 Aug 2021 08:27:30 +0000
Message-ID: <E1mFuRW-00066E-JD@gemulon.postgresql.org> (raw)

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7d6d1555926ae6c5b24016a3399b5cdf73fe712f

Modified Files
--------------
doc/src/sgml/ref/copy.sgml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1mFuRW-00066E-JD@gemulon.postgresql.org>
Permalink:  ../E1mFuRW-00066E-JD@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mFuRW-00066E-JD@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: doc: \123 and \x12 escapes in COPY are in database encoding.
  In-Reply-To: <E1mFuRW-00066E-JD@gemulon.postgresql.org>
  References: <E1mFuRW-00066E-JD@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox