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 1sO0BJ-00Bn3i-6P for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2024 19:25:49 +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 1sO0BG-00DDZV-4h for pgsql-hackers@arkaria.postgresql.org; Sun, 30 Jun 2024 19:25:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sO0BF-00DDZN-RW for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2024 19:25:46 +0000 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sO0B8-003uQQ-Ua for pgsql-hackers@lists.postgresql.org; Sun, 30 Jun 2024 19:25:44 +0000 Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3d55e2e0327so1335829b6e.0 for ; Sun, 30 Jun 2024 12:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1719775538; x=1720380338; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=cluLPsFRVExrENXQe2NZ5NNsKuhFM9vyyMFwO/oYEL0=; b=RUFhX7JEdOD7anCF3JvqeNLbFCVFrij4sNnbpEoelsqwdb9nw9ShlbnhUWGRBbFZQ2 n6V+7hdVA511HV4LrQN2PADY9L1OqHAKcJDXZbacb1uHFoM4rUT1ICDDdgzhfyDHdVRz NjpDIPLDvdzFg2dbo4luLIdA6/CSHqxVtwZ2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719775538; x=1720380338; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=cluLPsFRVExrENXQe2NZ5NNsKuhFM9vyyMFwO/oYEL0=; b=ZhPBxS/rqu3j5FO8Ns38BGlSBLZYiorIXM81MWhI2zyY7lQPUuEGv57pWAOGfPAIH9 DSDofXLpTDldpnCnNcVI5ssL9P4kYVLqdWgEfuTg4pEbpA6Vcp30CzJjR23D0wOb39X/ OzbAkxP+qPifRuU0uwd3UUv1VnWG7V4xSEtMXuFQXPI2HuFzEnVlCNaD5wxWarjeX0/W bwJWylv+2qrncSZ7I3tLzzzMcr88v4KAzmcj0eMVi6BJMmFEqSDh+uqWstzyEitkmRf4 xTEmfSY8SrBSKXugPHaW1zkCsVpvxisHg2uwBH94k4HVkEMssvifjGmqbR8Lwob2V8lR RDmw== X-Forwarded-Encrypted: i=1; AJvYcCXEyQhyGykcn7Etj5GcAWkXKCIdD2a2QdhYDOlcRkREXwrNQUdr0K2WPwQ4m2RcBfPYZUTuhk+TpTLFzhczOFlEdWdlZ3zu1t4su7/qBXGiSMGP X-Gm-Message-State: AOJu0Yxz23uoQfnTRb4JQuIDBIhP+Jh8r3MVn52rO62zkZu7Ht0kNvhL dBojtaUhnNDqmlPQMw0nxg0DMU9xTCA+6RS+YxaZmYkZxIU0PQ8QsZHiW/N14w== X-Google-Smtp-Source: AGHT+IFK58QHD5zgTPyIHo1ak5DZx4nKS3SsNGK/FVN0412LtqXJz6qAgPH63D0O511SLyGheAoJ1Q== X-Received: by 2002:a05:6808:14d1:b0:3d2:292e:1a3b with SMTP id 5614622812f47-3d6af9d70e8mr5430545b6e.0.1719775538266; Sun, 30 Jun 2024 12:25:38 -0700 (PDT) Received: from google.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id 5614622812f47-3d62f9b9029sm1118935b6e.5.2024.06.30.12.25.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jun 2024 12:25:37 -0700 (PDT) Date: Sun, 30 Jun 2024 12:25:34 -0700 From: Noah Misch To: Tom Lane Cc: Andrew Dunstan , Peter Eisentraut , 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 , =?iso-8859-1?Q?Fabr=EDzio?= de Royes Mello , vignesh C Subject: Re: speed up a logical replica setup Message-ID: <20240630192534.11.nmisch@google.com> References: <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> <2509767.1719773880@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <2509767.1719773880@sss.pgh.pa.us> User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Jun 30, 2024 at 02:58:00PM -0400, Tom Lane wrote: > 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). >=20 > So b3f5ccebd promptly blew up on fairywren [1]: >=20 > connection error: 'psql: error: unterminated quoted string in connection = info 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/ro= ot/HEAD/pgsql/src/test/perl/PostgreSQL/Test/Cluster.pm line 2124. >=20 > 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. It does look consistent with IPC::Run predating v20220807.0, hence lacking = the https://github.com/toddr/IPC-Run/issues/142 fix. I wondered how this animal was passing 002_pg_upgrade.pl, but it seems the animal has run TAP suites o= nly occasionally. Passes in the last week were TAP-free. > [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dfairywren&d= t=3D2024-06-30%2018%3A03%3A06