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.96) (envelope-from ) id 1wacEo-001vmN-2K for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2026 16:38:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wacEl-00H6oh-2X for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jun 2026 16:38:35 +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.96) (envelope-from ) id 1wacEk-00H6oW-2n for pgsql-hackers@lists.postgresql.org; Fri, 19 Jun 2026 16:38:35 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wacEh-00000001IU3-24if for pgsql-hackers@lists.postgresql.org; Fri, 19 Jun 2026 16:38:34 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id BCBB014001C4; Fri, 19 Jun 2026 12:38:28 -0400 (EDT) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-05.internal (MEProxy); Fri, 19 Jun 2026 12:38:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=partin.io; h=cc :cc:content-transfer-encoding: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=fm1; t=1781887108; x=1781973508; bh=OxdufeMZYnAo/Nw1yv5Jik51eworp9TGoGwwzpCsuPg=; b= A9p9hKc0NRL1XDN4iCogJtVmVmRbzM0YdfWvCpZbGlpm53QafwCISmb26bVztFn2 9dYAGv9GYYrD+oDO+Els3kciMRrbPW8sOlvlZtxkcMtRuPVctMJ9ECCHI+3PlkiL ilCSjbqaW8eqP/7W+TYjGK73n/wuM6iOjdZbCL72qo29inLddtm8zB/vfjyx4SIB +Khv5LoKV9Z+VmyJIhbVrmBxTLkrihGe2BvCLVHmZBW1BykceVEVjy2cTkjbksS8 dAlJXTYoOhy0ujMhiwUbc5HtbWTL3OPJbVLh80XhaSILVyaOanPVK4O6TsDR2tCm +iYzy43o0mILYWqvDT0xkQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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-sender:x-me-sender:x-sasl-enc; s=fm1; t=1781887108; x= 1781973508; bh=OxdufeMZYnAo/Nw1yv5Jik51eworp9TGoGwwzpCsuPg=; b=Y BwuNd2ujDVe2bmTrPNrSTJ4KlMdbyNjhH77nAA/NVm0fLGQUi+q7fmFP1mc/fqMF PKBvejTwQY0u+iY3/b9zpMai6DSl+6eKUwVt9CE4Li27bm42w1w+09YyuTW0u2KD wsUtxkq3Jsvx4FeF3Ncod3JIWX0Iqa2VwKuhLYNov3sEjcXMBRfN8iK4I0h816Be A+wdzDGKBHtIbvqVCtRMUH18CHbTrrc5q6g4jKHmH1yfxjJJRi/+2zD+68G8Ag7B k6JE8DX2NDk9TF+/cN0Gvioy07Mi18b2JcRXwVsDe2ggmsvXUq0af9KNbjmdwutW bjrr8DyPWaRmPktLbRz3A== X-ME-Sender: X-ME-Proxy-Cause: dmFkZTEfteI9UXGl88XTqng0IjuJ8CBUU1Z/N2R4wgfBLccrMGQ1Fy6G9tId5NDSZ1FULa 8qVail5ahVhj8EhOJl0szuKfFNl8xdDoQJ+tm5WvkOKdzlXLLXwe+I0ncfVqf6SMJDaN6F TdovvJ5ahW4DI+MeA2u6PYIDQg+izb8GHVZG7p7/y3BygtOcsaHK0QwbwDbaPJktPgYETE 2foWME26wjb7NCTsvvn8c3Yyb1rLdeTWffyv+SWIj0/Wyr+vmVfVxIY1IE1h7iGOtpldGj /FWaY+oPAsCmIhvxyoEU9owb/UY+lf4IyNzmEcTM074ZkiwuOSDXegZFsUPwb7kt6RC4Sv kgmLLcMsibJ+533rpMystQ5CeMMiaVb50kedg8/t7Oas/s01mFZJ9noEFj6Z2LAij2c8vK zzHN+w7qEwHxtRf81kaT0VH+cG4peovf3SPZ8iBDEJWMLXvBCDnKS2JdMGrDDCHzN+uXPC WopXrk3VwGTrVDvt30ujc4VPg8hx0MeCkR43fhNZVU0sfAQvtkl94JDzY9oVEyqxpI9Njx SJ3w4kCtOvG8WNv5V36ihuW9Z1cCm4ZaZ7BCPR3kIAb1Tzprp0Llo2GrkFlzhas2Hz3lR+ bA6huxQL52OJvqe1Or3QLdu/d7gryP92S6YDGEz+MrdP286BJcjlxH1WROJQ X-ME-Proxy: Feedback-ID: idd01497b:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 05CFD780AB5; Fri, 19 Jun 2026 12:38:28 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 19 Jun 2026 16:38:27 +0000 Message-Id: Cc: "PostgreSQL Hackers" Subject: Re: Fix publisher-side sequence permission reporting To: "Fujii Masao" From: "Tristan Partin" X-Mailer: aerc 0.21.0 References: In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri Jun 19, 2026 at 9:16 AM CDT, Fujii Masao wrote: > On Fri, Jun 19, 2026 at 8:11=E2=80=AFAM Tristan Partin wrote: >> The patch looks good to me! I had one suggestion: >> >> > ########## >> > # Ensure that insufficient privileges on the publisher for a sequence= do not >> > -# disrupt the subscriber. The subscriber should log a warning and con= tinue >> > -# retrying. >> > +# get misreported as a missing sequence. The subscriber should log a = warning >> > +# and continue retrying. >> > ########## >> >> I think a better comment might be: >> >> Ensure that insufficient privileges on the publisher for a seque= nce >> are reported correctly... >> >> My reasoning for suggesting that is because your comment would to >> indicate that any warning is accurate as long as it isn't related to >> a missing sequence. > > Thanks for the review! I've updated the patch as suggested. > > Updated patches attached. Looks great! Thanks for fixing this. --=20 Tristan Partin PostgreSQL Contributors Team AWS (https://aws.amazon.com)