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 1sO6rZ-00COrA-0b for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Jul 2024 02:33: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 1sO6rW-00EVWn-TN for pgsql-hackers@arkaria.postgresql.org; Mon, 01 Jul 2024 02:33:51 +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 1sO6rW-00EVWe-Aj for pgsql-hackers@lists.postgresql.org; Mon, 01 Jul 2024 02:33:50 +0000 Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sO6rT-003xJr-Js for pgsql-hackers@lists.postgresql.org; Mon, 01 Jul 2024 02:33:49 +0000 Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-dfef5980a69so2737582276.3 for ; Sun, 30 Jun 2024 19:33:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1719801226; x=1720406026; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=WP3pM0aQF8/0LEjHwUv+mYVjND5I7f2jrxNRc9BP6XQ=; b=QMFF7xmLiwJBeToCaVFzjxUTQ63pXqcAEVKJRxY2HltUXGNyta+LSgywiF9Pbt6x02 4LhRd8fR90midmATG9okAkJCTFHnT/X6ewhvDlQV7nZZsprkGxB6dkPBVsEbBh0m6Hbe 4kLZOHNHd8qJGu7HHvRr11orrZlC01bqEa6fM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719801226; x=1720406026; h=user-agent:in-reply-to: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=WP3pM0aQF8/0LEjHwUv+mYVjND5I7f2jrxNRc9BP6XQ=; b=axbzqPB66yrqTQY0MRS7ltW8b6qhF4+yC5IpJpJvLrVkMemnl8qYB0p8kbdtoWfEdm DCT24T1oKtwN5kaRa42aSThuUKg8y84K3jrnu6w4vPaEqPmHt/JTiLYzGKn5ov/om0zI KJtARTGvjEhZ72dSrDUUrKR5NG99qABOO8y1X2TbX7yVNqUh9WAmp0xsoeO2U0Jomsvj QjHuTiltiGiliLjGY99oGjlcDX/4O4X6mkQmvq+XyL/l5hgp4WZte12+n5pgGNPz2xHT E+2B2UY04vMOh9ZaCDt3Li2cDxDpUvkGPc7ND8jQTf8CJYelr/pwOJzFRGlo8PpSDIxd 9ojw== X-Forwarded-Encrypted: i=1; AJvYcCU4U5BAH2D+IKLRAINeNohCWgEJ1udorQqnqNAZJROp1awjhjyWIGeP9PtYIdhL2pM7yyLF7pQYnzAwIBs7Zg7k0nbFLhmobLMvgBx5sJgsH6U5 X-Gm-Message-State: AOJu0Yzq9eUfAsv3xXwx0TPA6T0XGtOQfWuAKt6ftGua+lZqMq/TnrgY R1Zza7NDEQb6kj5j78tEs0oa4GqCRAYLowJLHFL08SmLNVpO1CooTaU37N1y6g== X-Google-Smtp-Source: AGHT+IGKD0qN4suc9VSKzIzqLpFR1/2jj31xGOhmXoyWPuFLRZJCcUWZ3DMDDqpMM4baIYH9UucafA== X-Received: by 2002:a25:6b03:0:b0:e02:6e8b:af87 with SMTP id 3f1490d57ef6-e036eb45069mr4432808276.20.1719801226404; Sun, 30 Jun 2024 19:33:46 -0700 (PDT) Received: from google.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e036eabc98bsm653856276.20.2024.06.30.19.33.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jun 2024 19:33:45 -0700 (PDT) Date: Sun, 30 Jun 2024 19:33:42 -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: <20240701023342.bc.nmisch@google.com> References: <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> <20240630192534.11.nmisch@google.com> <2522388.1719781312@sss.pgh.pa.us> <20240630210817.51.nmisch@google.com> <2581870.1719797577@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2581870.1719797577@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 09:32:57PM -0400, Tom Lane wrote: > Noah Misch writes: > > On Sun, Jun 30, 2024 at 05:01:52PM -0400, Tom Lane wrote: > >> I'm tempted to lobotomize the new test case on Windows until > >> we have that resolved. > > > Sounds fine. The pg_upgrade suite adequately tests appendShellString() and > > appendConnStrVal() with the larger character repertoire, so it's enough for > > pg_createsubscriber to test just a space or so. > > Hmph ... according to [1], 545082091 was not enough to fix this. > I guess that old version of IPC::Run also misbehaves for cases > involving backslash, single quote, and/or some other special > characters? The database name has backslash toward the end, which likely creates a problematic backslash-double-quote sequence under win32 command line rules. You can see that in the node log, comparing the CREATE DATABASE log line (shows dquote at end of dbname) to the FATAL log line (no dquote at end). I'm not aware of trouble with characters other than backslash or dquote. > [1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=fairywren&dt=2024-07-01%2000%3A03%3A05