Re: Decision by Monday: PQescapeString() vs. encoding violation - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Decision by Monday: PQescapeString() vs. encoding violation
Date
Msg-id 4b911b554c42dee9e76bea1dbb14b4748015c1d5.camel@j-davis.com
Whole thread Raw
In response to Re: Decision by Monday: PQescapeString() vs. encoding violation  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Sat, 2025-02-15 at 15:43 -0500, Andres Freund wrote:
> It seems completely infeasible to me to to implement the "single
> error"
> approach in a minor version.

+1, keep with the behavior in the proposed patches.

Even in the next major version, I'd be inclined to try to move toward
interfaces that can produce an error reliably rather than spending more
time trying to use a "better" pattern of invalid bytes.

I just wanted to point out that some kind of decision was made and link
to relevant background information.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Decision by Monday: PQescapeString() vs. encoding violation
Next
From: Tom Lane
Date:
Subject: Re: Decision by Monday: PQescapeString() vs. encoding violation