Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGjBf-00GS4V-8v for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 17:52:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sGjBd-00EXZO-N6 for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 17:52:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGjBd-00EXZG-CJ for pgsql-general@lists.postgresql.org; Mon, 10 Jun 2024 17:52:06 +0000 Received: from mail-oo1-xc33.google.com ([2607:f8b0:4864:20::c33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sGjBc-000yGI-5q for pgsql-general@postgresql.org; Mon, 10 Jun 2024 17:52:05 +0000 Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-5b9776123a3so2392749eaf.0 for ; Mon, 10 Jun 2024 10:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718041922; x=1718646722; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=ABkTr6Ol4Ppx9qq9Xf9P1bMn1/UxBNPo/zxeTgzyUP4=; b=ihE6J6FbstWSNWDS1d9Uy6LqL+OCPZYu1+29QyiYvvdjILmPpEVXRtCE68Buuc7uJF Sp6z1oWVIR4A6h48e3qG0ddULVTDL4F0NHiQS36ilcFSPhaMtxzeSakPmtyDRJMizGO+ w/+n4WSbddwVrjqPVWJ+X9gJoPur8o6m4sif+M6XRiLHQNbsHFBVw23HvT4/DD/cywov xKU7zm3MODH0z1bH7+GUDLQU3Mikps7wE1Sq9qNVhltW14c5dPjhVaS+kPi6xOy0KeY6 WVXJ1wymELRR/7DMg95JuPONZhgiER5oc4wAdHzEK9OglFt0TdvxyJ+U1XR3mTqYTO9p 9hoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718041922; x=1718646722; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ABkTr6Ol4Ppx9qq9Xf9P1bMn1/UxBNPo/zxeTgzyUP4=; b=aN2aCOxIyCKLIQLqRMLEJPxrmdSE7aNpofpKJZQ7jDxsAIjKvdosKO+tIyl4o82HNq ZTXplcbrc0JdfvB46ed+NOKOrnl6nTwT7zBNF+L79ngCaIx1sil+Idw5kJr5EstHk2Xe R3npEIOD/RaBeKrNtf2c9sdP5T/+9HM7Ir0afqwCJTUKXWwjj0OniXMO48b/MqZYUvbg C8XXXYoi7B070nGbDZKzEdu/zBgoZ+2kupwiIAAQuHfvzYV8+8uTMoc+Im9MFQGS1Udi /N+9ohbn3l2xE+zlrdnITT06dC41nX2p5ZHMJAPRPKoJKHOs9WU7HedDt9gpU7ZZyukr kdqA== X-Gm-Message-State: AOJu0Yzz/ZYXGo2f6siyOT0VVpVNo2xpLp7OJ55fimesEJNy6IBpdxkW IeoDiiRl+a/s4uKf3zTY7um9UJvKEoaObPb1Mhjs1j48CXIm0buYzyeZ88s6wXFZFO2u5ifAkDP DV9+7+eg58LnL1MBwwhBD5Nd+k4vbhw== X-Google-Smtp-Source: AGHT+IFZ06ZTDNfEH51I/LbyBqg2UgQJZddAxqIWeDaU+AT0exXwFJqJe5mkgGqgnVoerr0TUX0VMDGOK3t4DLbs16c= X-Received: by 2002:a05:6870:61cc:b0:24c:b0bd:7eb8 with SMTP id 586e51a60fabf-2546444870fmr11818956fac.6.1718041922303; Mon, 10 Jun 2024 10:52:02 -0700 (PDT) MIME-Version: 1.0 References: <730017.1718032111@sss.pgh.pa.us> In-Reply-To: From: Ron Johnson Date: Mon, 10 Jun 2024 13:51:50 -0400 Message-ID: Subject: Re: Escaping single quotes with backslash seems not to work To: pgsql-general Content-Type: multipart/alternative; boundary="0000000000007cff6e061a8cce7e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007cff6e061a8cce7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jun 10, 2024 at 11:42=E2=80=AFAM David G. Johnston < david.g.johnston@gmail.com> wrote: > On Mon, Jun 10, 2024 at 8:19=E2=80=AFAM Ron Johnson > wrote: > >> >> "set standard_encoding_strings =3D on" is at the top, and there's no oth= er >> reference to it. >> >> > Well, if they are not using E-strings for escapes then you have the answe= r > why v14 is broken. Does it really matter why v9.6 apparently worked even > though it should not have if that setting was also set to on? > It matters that *something broke* either between PG 9.6 and 14 *OR* the old JDBC driver and the new JDBC driver, because the client end users are HOPPING MAD. (Don't ask why it wasn't caught in testing; that's beyond my control.) --0000000000007cff6e061a8cce7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Jun 10, 2024 at 11:42=E2=80=AFAM = David G. Johnston <david.g= .johnston@gmail.com> wrote:
On Mon, Jun 10, 2024 at 8:19=E2=80= =AFAM Ron Johnson <ronljohnsonjr@gmail.com> wrote:

&qu= ot;set standard_encoding_strings =3D on" is at the top, and there'= s no other reference to it.


Well, if= they are not using E-strings for escapes then you have the answer why v14 = is broken.=C2=A0 Does it really matter why v9.6 apparently worked even thou= gh it should not have if that setting was also set to on?
=

It matters that=C2=A0something broke=C2=A0either between PG 9.6 and 14 OR the old JDBC driver and the n= ew JDBC driver, because the client end users are HOPPING MAD.
(Don't ask why it wasn't caught in testing; that's = beyond my control.)

--0000000000007cff6e061a8cce7e--