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 1wXuSE-003YL5-0u for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 05:29:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXuSD-000zSU-0V for pgsql-hackers@arkaria.postgresql.org; Fri, 12 Jun 2026 05:29:17 +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.96) (envelope-from ) id 1wXuSC-000zSM-2o for pgsql-hackers@lists.postgresql.org; Fri, 12 Jun 2026 05:29:16 +0000 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXuSB-00000002IEs-1668 for pgsql-hackers@lists.postgresql.org; Fri, 12 Jun 2026 05:29:16 +0000 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-91591f19716so67552785a.3 for ; Thu, 11 Jun 2026 22:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781242154; cv=none; d=google.com; s=arc-20240605; b=GBlJTx0E4UiQ1UOsK4/UQ4FxdOX18QZW9FKUlRjv0cIgx1umHakcg7V/Gmfi4ZA5pf WsMiiSbcjMYksYjNtc+0rE03AcyTPCQaoOU9H2wz7HLvQrhP1aIwHcy1cgYhTTttit7h 0Mizj48V8ZcqhrZOQIp7HyY35UtRgN+DJcluo18doPVfhnkLGI6JJdSXg6dfQhlv+8ix 7TCBjJPjzNcxHTpTpFJeXTRm1UgbQLEwX3nU6DonOYMyR7wAWULJV5sI1GMOqn8GCoQj wvCLhucOttVmEzVscvz/sxoXA0FYqx7iYdPjMc1jbENsc1D+za1f0faas2z1cnfbFmA3 9Ung== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=sJ4D+Hi5oMuBnxxFQx4SQjCS+xdRYgN2+5jfhQJxawA=; fh=BfSn1D8iRT88OTz/XIh+iyhLF5hA5I9nNrdVgyHOId0=; b=gBZi7aT/WzpRr939cggVVGg3x8JRBhRirZN3CfgB9cI6f+TnSxN3xLbdUYPY4G4BK1 svbucnbzqSwfC8ZBh6U8aVlN3in43CQQGsdQfSDsyzMXT8Wqp9ja8AZquJ79vhunhnCj ufuIZ7k6nmcvDPR7vQ0/dULe3jC89ii5ddTAtbEPit91ZHGVPd4AY7WRugOQJlxGWXxQ 8MRznGX0KGCs/FdoaNHe1v2crAt7rVE2egImbPScfXVplmN1chYHTNvBn3NaTrwFX49j BBbitUFwxyzHKWZQpKG9cd25vf2BTYDfAwDzfkwINUPdh50nt/dtZgLpW4e/PmVs23e3 AHZA==; 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=1781242154; x=1781846954; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sJ4D+Hi5oMuBnxxFQx4SQjCS+xdRYgN2+5jfhQJxawA=; b=VqrkjrPQAoITCXPnVtYd65jUlXU0VmdM4Paz6J1pX/3YDpN885wixntI6y8cqfQz5f sbQI57Qk8b7SyXP3Y2Swcml26eICjX4ra7iMtCBGQEloFGUxG7/jp6ic0yCmTHH0taFp Zo7xHYLmR2TYcJXDrGP1jl2haIMrjcLzTy9iTeZAQowOXMz2AmK/XjeuVHze+cQ/Gtj/ 7BC1k3oYLIMUZxV8JLs3Nbn0W6rmFp65jMGg8ys9ruQz3da31A+hlpZJJwIbEWDbcSgp qf0kdlMKlKwiKJOn2Y8wk03ZvSbQgNHVdM11Qw4IVEsL32rC6GM1AQNtjBB3z51kRf0f bGCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781242154; x=1781846954; h=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=sJ4D+Hi5oMuBnxxFQx4SQjCS+xdRYgN2+5jfhQJxawA=; b=Tq1RPp82w6xXHu4AlAhlkKirOaovF8HPquXZ7icCMniz6I07OqykOpjglwmYMC25hG uk9NBoCMjz8PxWhggamKi3M+mefRebj+3wuhsfT4OC45PlKLb2mtMRbxXNkyCH4JPklq qUGObKrlijWJMLqfUKT1xTqwPkEJAJiQ4ohRezBPGybnqYJHFJtIb04JxyLjRlJdAbiN n+gca2SM91AyMIUDjgwzLKl3BBqH0rhJ0C4t0ydv4LQTMiy8jXwv0yZB0gBviu78u6cc Cbv3g9RqmE+9NRCOnfbxPDhBuG9bpZ9o6kCq1gaor8XtdBpU49bA+ofhIDgqQdR+Q+ti Vikw== X-Forwarded-Encrypted: i=1; AFNElJ/G3JPAk6ryaQa/JqNaQY+aZqtXWp0bP4YNIEPqJVz0qmygeSEjCU+PykmcHetnpjMSfLy+6G3Z1x5o0eP3@lists.postgresql.org X-Gm-Message-State: AOJu0YxrQi4WowwjZFpdNVKEwO+cf/dnXItw6RLpB/VlzMuH7CARu4+1 Up2pxJe/QpDKSZn5qQTffAiP/VpK9ZyAoO6McguWi28Xs4Fj5JLlB6ZxmOTeIFPjB0q4lMpkkxJ ClCSDldiaXSBWTA0/z+Yw/bfgPWaK/7Y= X-Gm-Gg: Acq92OGX6dwffebXfxXDnBacpncK21Y0XbNVqTGHBwvA22462qwYeG2iABkWHQukll5 m7CPQS6Dl2X/lI95I/oyo0QdT/A5MxiH9HTkbGwtLN+a73h9MCb2Yla70dQ4WWFxFTIE0+2Lo01 ksQAPmhaOTNgfaR7VpApTToqzvx9qlPy7IQ/Ad5lfX5T6fUKNhV+blN3KEnmfjecDDMM89ZiB16 v8IE1UFo/2JJdCd22M52/DHSS21fK02Bd8Rb1ZJOxddZudEyr86CDgaKYtfu5HXq2qwP15Znpaw 25tjeSc= X-Received: by 2002:a05:620a:40d5:b0:914:babf:9f45 with SMTP id af79cd13be357-9161bccc30cmr158477785a.26.1781242154011; Thu, 11 Jun 2026 22:29:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Fri, 12 Jun 2026 15:28:46 +1000 X-Gm-Features: AVVi8CeLYLUzaC_dmJ8PhlN2npEK8FPbGc9jh8slQ97lFZEFExtdj3R6y_qYo1w Message-ID: Subject: Re: Support EXCEPT for ALL SEQUENCES publications To: Shlok Kyal Cc: shveta malik , vignesh C , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Some comments for v9-0002. ====== APPLY: 0. The patch does not apply cleanly: $ git apply ../patches_misc/v9-0002-Support-EXCEPT-for-ALL-SEQUENCES-in-ALTER-PUBLICA.patch error: patch failed: doc/src/sgml/ref/alter_publication.sgml:277 ====== doc/src/sgml/ref/alter_publication.sgml 1. + + Reset the publication to be a ALL SEQUENCES publication + with no excluded sequences: Personally, I don't see how it is good to have "publication" 2x and "sequences" 2x in the same sentence. SUGGESTION Reset the publication to be ALL SEQUENCES with no exclusions: ~ I know you're only following the same pattern as "Reset the publication to be a FOR ALL TABLES publication with no excluded tables:". It is good to be consistent, but when the original text is poor, copying it doesn't make it better. Things like this fall into a grey-zone because, unless they get fixed "in-passing", nothing ever changes: a) I think a patch to only change the original wording would be rejected because it is too trivial. b) OTOH, when the original is used as a precedent, the poor wording just spreads further. ~ Anyway, if your chose not to reword this, then there is a typo /a ALL SEQUENCES publication/an ALL SEQUENCES publication/ ====== src/backend/commands/publicationcmds.c get_delete_rels: 2. + /* look up the cache for the old relmap */ /look up/Look up/ ~~~ 3. + if(found) + break; Missing space after 'if'. ~~~ 4. + oldrel = palloc0_object (PublicationRelInfo); Unwanted space after function name. ====== Kind Regards, Peter Smith. Fujitsu Australia