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 1rnATl-00Buw2-Kc for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 04:56:38 +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 1rnATj-00A8k1-Ou for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Mar 2024 04:56:36 +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 1rnATj-00A8jt-FO for pgsql-hackers@lists.postgresql.org; Thu, 21 Mar 2024 04:56:35 +0000 Received: from fhigh6-smtp.messagingengine.com ([103.168.172.157]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnATf-005bks-Uu for pgsql-hackers@lists.postgresql.org; Thu, 21 Mar 2024 04:56:34 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 1152611400BD; Thu, 21 Mar 2024 00:56:32 -0400 (EDT) Received: from imap49 ([10.202.2.99]) by compute2.internal (MEProxy); Thu, 21 Mar 2024 00:56:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eulerto.com; h= cc:cc: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=1710996992; x=1711083392; bh=OGRjHnPdZ7 ZouYfz67rZa2UTaCw0jTcZjeEel2XHC+Y=; b=Z1PnkS2Kw8+e4TVTrcVz27VKDv 61H1nZPSUG1/19pb640pDq+Da/suohwTaRl7GSJtpA5bJLpNac4YhIwt8BvPsDkK NDnvx3SkbSL26qriuyHkaOLg0JFMOG1nzETaJ6oia+S7n4voXJWfu+SoZ0HSXFCY FE2v6Ebx4qB+bcqMpAseEqwlic8qD5EB9jq7AMZjZ0h/B8630MsmMYVbLJ9lcNMm pvpxdF2YruQrq4VFbSS3e4z34o4kg1s3VC92I0h/4sBCCpcNAaIDaHIQUQLPFqRN lAzw7BVjJYK6lK4A/oLR93dTg7sEdwmFnm8OOw6mEcPukl0cRSAfVcvxaE5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= fm2; t=1710996992; x=1711083392; bh=OGRjHnPdZ7ZouYfz67rZa2UTaCw0 jTcZjeEel2XHC+Y=; b=cGYhWn4Ztbp0BXTPh4z+MWmFLUJuIeKHR/swhGeQWlRN pXBd4ghkrNA7sGa80lYEjVssYFVaUOtnjGbFMziBv1BJTp1XdPoWUEot2d6DweVF rGqrRbiJnvB0VzVXur8ZaMK3xkLZB/E6gYQx4xyPLCYyUopkKh+msNqkFa3R8wlp EDP8V/dRdlEp4PLpbmkN7r160GfZ/swhD7YDku+WGLiqWA0R/U81rVjMwmPJ4E3v PttBkr5Cd6TYhobpXN0fjCD8fgzB8UFCuosWSsCWOveIQk5q5LiB0MWCw/mD5SNV XfxLeVGw4YEaanHBBFe/3QP3vrHdXiS9K4JUBF1LFA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrleehgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesrgdtreerreertdenucfhrhhomhepfdfguhhl vghrucfvrghvvghirhgrfdcuoegvuhhlvghrsegvuhhlvghrthhordgtohhmqeenucggtf frrghtthgvrhhnpefgffejvdeivdekvdeivdetudeikeduieevtdfhhfduvdetgeelteei ffekgefhvdenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvghulhgvrhesvghu lhgvrhhtohdrtghomh X-ME-Proxy: Feedback-ID: i0c21471d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C1DAC15A0092; Thu, 21 Mar 2024 00:56:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-332-gdeb4194079-fm-20240319.002-gdeb41940 MIME-Version: 1.0 Message-Id: <0b0b5d11-2b10-493f-b9fd-649c6b9bdcd4@app.fastmail.com> In-Reply-To: <2abb05b6-9173-45a7-a5dc-0f4cf2a4c7f4@eisentraut.org> References: <9a9c7e65-c47b-4400-a63e-ac6169c0860e@app.fastmail.com> <40595e73-c7e1-463a-b8be-49792e870007@app.fastmail.com> <6423dfeb-a729-45d3-b71e-7bf1b3adb0c9@enterprisedb.com> <2f0b73f3-e7c0-4e95-9712-1993442a6b64@app.fastmail.com> <34637e7f-0330-420d-8f45-1d022962d2fe@app.fastmail.com> <2abb05b6-9173-45a7-a5dc-0f4cf2a4c7f4@eisentraut.org> Date: Thu, 21 Mar 2024 01:56:11 -0300 From: "Euler Taveira" To: "Peter Eisentraut" , "Shlok Kyal" Cc: "Amit Kapila" , "kuroda.hayato@fujitsu.com" , "Tomas Vondra" , "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 Content-Type: multipart/alternative; boundary=a9710c8365df4f17821c591f5a44dc70 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --a9710c8365df4f17821c591f5a44dc70 Content-Type: text/plain On Tue, Mar 19, 2024, at 8:57 AM, Peter Eisentraut wrote: > On 19.03.24 12:26, Shlok Kyal wrote: > > > > I have added a top-up patch v30-0003. The issue in [1] still exists in > > the v30 patch. I was not able to come up with an approach to handle it > > in the code, so I have added it to the documentation in the warning > > section. Thoughts? > > Seems acceptable to me. pg_createsubscriber will probably always have > some restrictions and unsupported edge cases like that. We can't > support everything, so documenting is ok. Shlok, I'm not sure we should add a sentence about a pilot error. I added a comment in check_subscriber that describes this situation. I think the comment is sufficient to understand the limitation and, if it is possible in the future, a check might be added for it. I didn't include v31-0004. -- Euler Taveira EDB https://www.enterprisedb.com/ --a9710c8365df4f17821c591f5a44dc70 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Tue, Mar 19,= 2024, at 8:57 AM, Peter Eisentraut wrote:
On 19.03.24 12:26, Shlok Kyal wrote:
=

> I have added a top-up patch v30= -0003. The issue in [1] still exists in
> the v30 patch= . I was not able to come up with an approach to handle it
= > in the code, so I have added it to the documentation in the warning=
> section. Thoughts?

Seem= s acceptable to me.  pg_createsubscriber will probably always have&= nbsp;
some restrictions and unsupported edge cases like th= at.  We can't 
support everything, so documentin= g is ok.

Shlok, I'm not sure w= e should add a sentence about a pilot error. I added a
com= ment in check_subscriber that describes this situation. I think the comm= ent
is sufficient to understand the limitation and, if it = is possible in the future,
a check might be added for it. = I didn't include v31-0004.


--
Euler Taveira

--a9710c8365df4f17821c591f5a44dc70--