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 1sNzmV-00BkZD-I8 for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2024 19:00:11 +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 1sNzmT-00DAPE-VE for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2024 19:00:10 +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 1sNzke-00D7mn-8f for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2024 18:58:16 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sNzkX-004LWa-PM for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2024 18:58:16 +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 45UIw0mV2509768; Sun, 30 Jun 2024 14:58:00 -0400 From: Tom Lane To: Andrew Dunstan cc: Peter Eisentraut , Noah Misch , Alexander Lakhin , Euler Taveira , Amit Kapila , Shlok Kyal , Tomas Vondra , "kuroda.hayato@fujitsu.com" , Bharath Rupireddy , "pgsql-hackers@lists.postgresql.org" , Michael Paquier , Andres Freund , Ashutosh Bapat , =?UTF-8?Q?Fabr=c3=adzio_de_Royes_Mello?= , vignesh C Subject: Re: speed up a logical replica setup In-reply-to: <2507765.1719772840@sss.pgh.pa.us> References: <9a9c7e65-c47b-4400-a63e-ac6169c0860e@app.fastmail.com> <65b841a8-0c2f-4953-b9cd-240fce84b90b@eisentraut.org> <47524383-6fd1-4b13-8c4e-fb918b1d35ba@enterprisedb.com> <2e86cf53-c806-49d2-9a10-1a1257776d1f@app.fastmail.com> <5da4b286-e570-4341-8262-92d763f6b1a4@app.fastmail.com> <776c5cac-5ef5-4001-b1bc-5b698bc0c62a@app.fastmail.com> <3c024250-3f13-4f4d-b8e9-55f176db4abf@eisentraut.org> <0dffca12-bf17-4a7a-334d-225569de5e6e@gmail.com> ! ! <2377319.1719766794@sss.pgh.pa.us> <2507765.1719772840@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Sun, 30 Jun 2024 14:40:40 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2509766.1719773880.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 30 Jun 2024 14:58:00 -0400 Message-ID: <2509767.1719773880@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > In hopes of moving things along as we approach the v18 branch, > I went ahead and pushed Kuroda-san's patches (with a bit of > further editorialization). So b3f5ccebd promptly blew up on fairywren [1]: connection error: 'psql: error: unterminated quoted string in connection i= nfo string' while running 'psql -XAtq -d port=3D52984 host=3DC:/tools/nmsys64/tmp/hHg_= pngw4z dbname=3D'regression\\\\"\\\\=01=02=03=04=05=06=08 =0B=0C=0E=0F=10=11= =12=13=14=15=16=17=18=19=1A=1B=1C=1D=1E=1F !"#$%&\\'()*+,-\\\\\\\\"\\\\\\\= \\\\\' -f - -v ON_ERROR_STOP=3D1' at C:/tools/nmsys64/home/pgrunner/bf/roo= t/HEAD/pgsql/src/test/perl/PostgreSQL/Test/Cluster.pm line 2124. This shows that the command-line arguments to psql are not getting adequately quoted on that platform. AFAICS, we are relying on IPC::Run::run to perform such quoting, and it seems to be falling down here. I wonder what version of IPC::Run fairywren is using. regards, tom lane [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dfairywren&dt= =3D2024-06-30%2018%3A03%3A06