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 1sGh6i-00G2bN-FE for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 15:38:53 +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 1sGh6g-00Dbhs-OU for pgsql-general@arkaria.postgresql.org; Mon, 10 Jun 2024 15:38:51 +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 1sGh6f-00Dbhj-Sl for pgsql-general@lists.postgresql.org; Mon, 10 Jun 2024 15:38:51 +0000 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sGh6d-000xHo-O5 for pgsql-general@postgresql.org; Mon, 10 Jun 2024 15:38:50 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 7D96B114011F; Mon, 10 Jun 2024 11:38:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 10 Jun 2024 11:38:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1718033925; x=1718120325; bh=08rdDX3PJUo0fAOZheefab29yd5+k0ut6siN4doeYR0=; b= SgSuQgGFC9YkHJkraMDg+FP4ymQa/4lLHSOq0gOdqyhoUn/EgWbz1n5gVADYXeN/ A1IVBsvWqrqwe8ArQDtDSuojWxk11uLQvPN8IP4MFb/RPDGcQiZCjsjr5Knu1eWB BWp5lWjyNFhRuS3RfQSjKpCXYHcwd240tNe0vA6ULa8LksCEIEC48h9XZ9bfnL/G BYc44yMZXJVurUSHBN2XnDaDxYE6m74BpxREaQNoEVgRIQx9pY0Jw3tfjpF7Q9ba sypt5E7hFB4zliJTFoepvRi7yif8n/B83JN/2mhQl+KLTksy8N4RFYRUvq3B82uK XH3tPYmJHcY39Y1IRbsv2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718033925; x= 1718120325; bh=08rdDX3PJUo0fAOZheefab29yd5+k0ut6siN4doeYR0=; b=q npkhL3rWwqdYLP370u/pBPclK6KqzXJu+/68xrWrdVzFKSFJyG+Snc+7lADyo0sO x6nLatbdtaNyItWOoi0KvE9URdpRri09xQ6GtzXztFidnzOraEFfWfXcXLGnY9mI cgucYmiqDylT12u6W1qvzz2Srgjivn61OsrDFnDXKDNQAhytkgY/X4gO8iqjgXR6 9ya0pyDe2daZnet5zOcl9bOjMlOR+3zkoMf2YJ+1E4WQjIEMc3ovlINEikSZxpx4 /AL+bQJlTcKMF21IjUFlVU5wL00oO0Cu984BpghyAX78KAMM3Gd7Rb7QB/QmykaV 0pYVs/XzT/4TUzSljCpwA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedutddgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtke ertddtvdejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuggftrfgrthhtvghrnhepffelgeeife fgveduhedthfekuedtffejveegffegjeevtdehgfduieetfeehjeehnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvh gvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 10 Jun 2024 11:38:44 -0400 (EDT) Message-ID: Date: Mon, 10 Jun 2024 08:38:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Escaping single quotes with backslash seems not to work To: Ron Johnson , pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/10/24 07:52, Ron Johnson wrote: > On Mon, Jun 10, 2024 at 10:08 AM David G. Johnston > > 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.klaver@aklaver.com