Re: Escaping single quotes with backslash seems not to work

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Escaping single quotes with backslash seems not to work
Date: 2024-06-10 15:38:44
Message-ID: f414cfd0-b9c4-4a81-a7b6-10af66f2b7e5@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/10/24 07:52, Ron Johnson wrote:
> On Mon, Jun 10, 2024 at 10:08 AM David G. Johnston
> <david(dot)g(dot)johnston(at)gmail(dot)com <mailto:david(dot)g(dot)johnston(at)gmail(dot)com>> wrote:

> This hasn't changed from 9.6, has it?
>
> A Java app that uses backslash escapes broke this morning on fields with
> single quotes, after the weekend migration from PG 9.6.24 to 14.12, and
> I don't know why.  I'm not a Java programmer, though.
>

Was there a change in the JDBC driver also?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-06-10 15:42:00 Re: Escaping single quotes with backslash seems not to work
Previous Message Ron Johnson 2024-06-10 15:19:32 Re: Escaping single quotes with backslash seems not to work