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 1wgh12-006KzK-39 for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2026 10:57:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgh11-00H1m4-2i for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Jul 2026 10:57:31 +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 1wgh11-00H1lw-1o for pgsql-hackers@lists.postgresql.org; Mon, 06 Jul 2026 10:57:31 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wgh0y-000000022eY-3lqf for pgsql-hackers@lists.postgresql.org; Mon, 06 Jul 2026 10:57:31 +0000 Received: by mail-pj1-x1034.google.com with SMTP id 98e67ed59e1d1-38125cebfdaso3808761a91.1 for ; Mon, 06 Jul 2026 03:57:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783335446; cv=none; d=google.com; s=arc-20260327; b=HsyzABEJczxZNpajEt3cbmhTzk5z74rGl4AdvIbBSI1hhpYjMEIYkVy+aXxFxrZn72 GDvXSzS8RpR/0K+zPLOQyCFTGmPy/Xx47/HVEpFqdWoxEmKJrBEht5V69TTYjSQT3eQi l23zpIFaeg7jF5us3eK7wTMSTQXGeovxAuobg5TqCTEMk0YmkRAMIGN7MwKbUldc+qOz LsX3VKw692Z0g7d8G/auZRK5qRu1CowHCXnN4XwFmUYtj6wWfsDLHXBzaJPOLbnpthOL rnLn1X3Whw/Kf2wWhDDhI83+Z8NSuKQlR93fJIs+huk1CIrfLHfs0stKSAUeEGOaLtvG 85nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dLBm2jx9x+9N0/DuSt5lvJJ1esUZGtDdummUEzzgv0E=; fh=L4QiXVxfomYjPDkrmkz2Eo9rBDTiu4DHJCwvIDHE0z4=; b=sEiTtP5KHtR4cL13oWZGwte88kfH6bJUeARFrnBJxSLae0HVljDs8LFwLvmhHUU4O1 Js4VrUpyXB1Wend6VE3w/RNcG8TGkYcas23GXJoHO7MmYNhKBLXvKep9oaFiXj8Kw29D EJ/YzSK975jIHuxJRAQvx86T3+o8jdwhIYWDUcn/dD4w7CuHFN8XQEF0hzUhVB5YI8uZ UCyGnZoCUQAtMVvl2lHL8xoVF82x4xsMGicItK2MSMfbb/xvnHaHoeSUc+AJ5+sclR6K OczaikYywDF0tDkToOKCqNqia0dPZWEpAB2BqG659oq8CLG51goAEvqhD5sNYl+QCgIW K7Ow==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783335446; x=1783940246; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dLBm2jx9x+9N0/DuSt5lvJJ1esUZGtDdummUEzzgv0E=; b=B7Bv34KemyBSEeIsuW5edkflPTYYfSkBV06h0aKaE+Izvs3zgQnR27QHkst5B4fP/d O6rwqb+1W1XwEvtj7lNbs+C02fe88RieW5/8cQ9Ii1gySzTu3LjEPIwuPTqxnukSRpPm nY2pra/Qrn4ptQRCdzaVHax9TJK9C8kecwUahLB3Z8G6nvtnvpRvBbuLs77XMNlAQjUY WpctQmqX7kTWk7yQMYhviB391JojmFb8N8oEzfpQ0YoGcKzROExZM6kcAhhI7zkqYAoq tMVXo4BgyNHe2BS55YVOGZgTa+OqYrPxeOJh0eSQUCFi7m3NLANW52lVzCOjNXqOJF/C 1pTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783335446; x=1783940246; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dLBm2jx9x+9N0/DuSt5lvJJ1esUZGtDdummUEzzgv0E=; b=YkxjfzGsgJqJT1Kmk+A11Ajf0svVU84nD0+Io6SZM5UV9LQz9SVmsraYha2FXMSQM9 gY3Q39KxYe4BjmKaKsiH0tfRWFNGPV8fEZQjHyHD1osPoazX8PS+hDtu637XckEfdxvt kbEf9cQU8HjbF8VmPYxtp+1OG1OSzHrJHPISh/vIEDuTgBHDbRJsZu6lJ7KzgcZpL7xZ dtMmJjq8aEy5/SQy04d1vw6RouK2pMANGwoT/WnhuvqULYFbEeRPdpzAXyeawMBwFgXU hlMaT33BUDbMkjuQxO5fGNu52prvNo5rnaXQXiPg7je+gzi0Ca6m6f9ObeHADfL24kcl 0pLA== X-Forwarded-Encrypted: i=1; AHgh+RooMqAun5Y0uGhDgg13xwpqwnZWUz6tAzDLAHpBXE59GoAY1Ybo05YyoQyeHQgaZ5a2EvJvU82zcczoYyh6@lists.postgresql.org X-Gm-Message-State: AOJu0YwRZpU1UGbEuRXy1jKc31sSyZ8ognRhLpwGF2pvd1vfhM8ea/dy YamQHASfCwlTH8rb7S7pOkQxUPkjJ+TDOAZdYteCsMOeHxuDCrja1V4cTy44Z84K/BhZb+6i2j2 pDrxSHuSQwmZVb8+/IhYIYpkE0797FUU= X-Gm-Gg: AfdE7cmw1sth9L2EBmNHzUB+inFvMj3pf47PEJnB7TlW20sxp6UXgt6p7UDpwGT004g t1TWEfrV+gzJfdteS9AeT+S6qWCu23FtNoCiZfSDLlYs3d8/ZgcLJTyOSsQpV0kHfJRZNW1Pt+k vxC3MWQRLKF8MmbvujjBc7zu7tBFQ6HpasMombMfrYoKGVuuRG21YKkCcJ9nQhL7eztwGTuB8f7 u5fXK9xaEgkLcyQCIiKl0ohruZCAFqNU4BQpGBGdCVGpnQ+C83RAJcxMjbMitgv+7D4GH8gtaN3 M5GdSwiAzzdU7ZLZOjFWTTqy0g== X-Received: by 2002:a05:6a21:7308:b0:3bf:a698:ce40 with SMTP id adf61e73a8af0-3c08ef41487mr33341637.58.1783335446115; Mon, 06 Jul 2026 03:57:26 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ashutosh Sharma Date: Mon, 6 Jul 2026 16:27:13 +0530 X-Gm-Features: AVVi8CdttkGyrLSWRjH_wBlly0FaUqCmQ7Q6xiQSgZUoRwH5dR1lsheYYPH0InU Message-ID: Subject: Re: Include sequences in publications created by pg_createsubscriber To: Shlok Kyal Cc: vignesh C , Peter Smith , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Mon, Jul 6, 2026 at 1:31=E2=80=AFPM Shlok Kyal wrote: > > On Thu, 2 Jul 2026 at 11:59, Shlok Kyal wrote: > > > > > > > > The attached v6 version patch has the changes for the same. > > > > > Hi Vignesh, > > > > I reviewed the v6 patch and tested it manually for some scenarios. It > > is working fine. > > And the patch mostly looks good to me. > > > > A minor comment: > > pg_perltidy run is required on the 040_pg_createsubscriber.pl patch. > > > I ran pg_perltidy on the 040_pg_createsubscriber.pl file and attached > the updated v7 version of patch. > I have one small comment from the latest patch and here it is: +# Verify that the publication is configured to publish all tables and +# all sequences. This sounds a bit ambiguous. Do we actually publish sequences in the same sense as table changes? Other comments/docs describe sequences as being included in a publication for synchronization, rather than being published like tables. Maybe this should say something like: "Verify that the publication is configured to include all tables and all sequences." -- With Regards, Ashutosh Sharma.