Re: Escaping single quotes with backslash seems not to work - Mailing list pgsql-general

From Tom Lane
Subject Re: Escaping single quotes with backslash seems not to work
Date
Msg-id 730017.1718032111@sss.pgh.pa.us
Whole thread Raw
In response to Re: Escaping single quotes with backslash seems not to work  (Ron Johnson <ronljohnsonjr@gmail.com>)
Responses Re: Escaping single quotes with backslash seems not to work
List pgsql-general
Ron Johnson <ronljohnsonjr@gmail.com> writes:
> On Mon, Jun 10, 2024 at 10:56 AM David G. Johnston <
> david.g.johnston@gmail.com> wrote:
>> As the caution on that page says the default for standard conforming
>> strings changed in 9.1. But maybe your 9.6 had the old value configured but
>> when you upgraded to 14 you decided to go with the new default.

> That was the first thing I checked... It's the same on both the 9.6 and 14
> systems:.

Did you check that as the user that runs the Java app (I sure hope
it's not the superuser you evidently used here), in the DB the Java
app uses?  I'm wondering about per-user or per-DB settings of
standard_conforming_strings.

            regards, tom lane



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Escaping single quotes with backslash seems not to work
Next
From: Ron Johnson
Date:
Subject: Re: Escaping single quotes with backslash seems not to work