pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make escaping functions retain trailing bytes of an invalid char
Date: Thu, 01 May 2025 17:15:40 -0400
Message-ID: <1658526.1746134140@sss.pgh.pa.us> (raw)
In-Reply-To: <a9c837ad-d507-4607-94e4-c5743a8f49e0@eisentraut.org>
References: <E1tjPai-007Ji8-VF@gemulon.postgresql.org>
	<a9c837ad-d507-4607-94e4-c5743a8f49e0@eisentraut.org>

Peter Eisentraut <peter@eisentraut.org> writes:
> On 15.02.25 22:20, Tom Lane wrote:
>> Make escaping functions retain trailing bytes of an invalid character.

> I think the backpatch of this to PG15 and older has erroneously dropped
> newlines at the end of some error messages.

Oh!  You're right, though I'd phrase it differently: I should have
*added* newlines when back-patching into those branches.  Will fix.

			regards, tom lane





view thread (8+ messages)

Message-ID: <1658526.1746134140@sss.pgh.pa.us>
Permalink:  ../1658526.1746134140@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1658526.1746134140@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make escaping functions retain trailing bytes of an invalid char
  In-Reply-To: <1658526.1746134140@sss.pgh.pa.us>

* 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