Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pNEK3-0005xh-9c for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Feb 2023 14:42:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pNEK1-00061v-8j for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Feb 2023 14:42:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pNEK1-00061l-0C for pgsql-bugs@lists.postgresql.org; Wed, 01 Feb 2023 14:42:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pNEJy-00089l-K7 for pgsql-bugs@lists.postgresql.org; Wed, 01 Feb 2023 14:42:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 311EghJd1366330; Wed, 1 Feb 2023 09:42:43 -0500 From: Tom Lane To: takaram71@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17767: psql: tab-completion causes warnings when standard_conforming_strings = off In-reply-to: <17767-e5c80c3e56ded85c@postgresql.org> References: <17767-e5c80c3e56ded85c@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Wed, 01 Feb 2023 09:45:39 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1366328.1675262563.1@sss.pgh.pa.us> Date: Wed, 01 Feb 2023 09:42:43 -0500 Message-ID: <1366329.1675262563@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > Step to reproduce: > 1. Set standard_conforming_strings = off > 2. Type `\d _` and press Tab key > Actual result: > Got `WARNING: nonstandard use of \\ in a string literal` Yeah, that should be coded a bit more robustly. Will fix, thanks for the report! regards, tom lane