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 1wZ0gA-000hSx-01 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 06:20:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZ0g8-00A7PE-2k for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 06:20:12 +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 1wZ0g8-00A7Ol-1S for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 06:20:12 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZ0g7-00000000Qtf-1E6r for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 06:20:11 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-2bf2247e38eso27558985ad.3 for ; Sun, 14 Jun 2026 23:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781504410; cv=none; d=google.com; s=arc-20240605; b=DbBWzn9VVjNT/yAnDCezMhE0B4epqMLTNcQCMnNlJTFDk9PHsC0P3ul1Q55FKLLcE1 8by7+5YORwB61IS1ARPunWoOrGf1WFZ01YnluHYez4L5IZzIgTiq3FtZyZZeSciAfBgf gMmFtbAO8OhPadIdpNb0Yuvf3MVJAj77yntjUcdYM1jtHEDp3kBQV4e++ra81xZiXCbr LpwRKSYyYyJOlGMK4O460vB1zkuJId6/UO51AvGyP7x6pqeXquW06W3167a7uns3tfgj OJardZwWfAO24UXn4ba+vUbbmcUeqDJHw7sPi1GBe7o5lziv4GPLBwHm0Q/6aaOPrmLq PJyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+6SWmbP6wMMD/JuhLX0dMd3GJtEq02VJo1NzmYXUnmU=; fh=jUPN5O2vJ6oJ+xDtbAKccOov696CiqhY3Hmz/VGA3Dg=; b=ibAlAOW6jp8pluto7wVFRE1QxSOUTrPx3BTASAdaKL4niwdWo7fqNtPQDRkjccBJyD 90Lb1UanKc8DDX83HRLQbcfyo036LTBKpggyH0Vjw70zTt5iR7tNNtHqg90vEW/xN7qH Mvo7v6VOOzmCYq1F8F2kj9VJjG049miReF0jRRjtjoiI8FxFB+iY2MumhbDAhf7tgCWa ZBDyWxMm4MhDEnPCZ+xKo3QnuotYFNnkUWttuq7BgAYOzNXnvjVUaD2nz6dWbfOF/92Y ICIpbF6iD9uI0xAwgKqZ+bNEfDHAkBJy/pjYsfwn2P4vDp27BB/e30W6LRd+2tX7HyP5 AiJQ==; 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=1781504410; x=1782109210; 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=+6SWmbP6wMMD/JuhLX0dMd3GJtEq02VJo1NzmYXUnmU=; b=RGmieenOPhtdb+him0kI+0DIjFUbS/Mdv/F503C90nv0SnLNcLHNQRnHu8rafYi+tP FGwfGF8U4ev4lXMCLZ+1sSGC7Eo2TbjCAV8a7WFajKuecrg+1Q+WZjnQeyk0OLFkHt/l yHbpg2tM/1PrTOQXMj5lC7ToIWZBD+dOSM04XmGAno0gqEG928LAVFrJQHI3QRcBFdZ6 O49eGBcsftW3SRtJZ/kPeJ2KwJZb5FoRfXrpUXOEugHoKMAvbWTBXoMIh1Ql31HKKyc7 Cda9jpeZDzjjOd1nI+jIWL+P6ya13/75uqzRaxLHcmzEdW7CF1nYH2mR1mpxXc2QjKeR XiLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781504410; x=1782109210; 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=+6SWmbP6wMMD/JuhLX0dMd3GJtEq02VJo1NzmYXUnmU=; b=mi2FTmZqB2zT5FfqaL3o63Gmwk49qSrOeSOOCnukdr44jZ5wLC5W2+nfgdMITQ+f7K kD4oAsD3HKVyLlBXXvyJ+O+v/pZaRNeAmpOi7XbsRxXlY8xtk11SOhsUj0/7KXzeMMQ5 RYGsbWrdK/IXpr7VoVdFqsmQTvsvRiTHk96pUyErcbxPZvc4xYJ1kOLxOQo04PW/L9Tf tyIIANtL/3HNmTqKmy/poUhvfB/MqQDZjm0bXSHsslhw7oKlHItPj+vT2+tWThJ9LAlP N1j/v1j4PfDMNBA7g7OQVDAx5cs7uDz/N4OJi4a8/qM28cjXNFf52Ezrnyhp3iWL0svW S4mA== X-Forwarded-Encrypted: i=1; AFNElJ9NtyXtXhQRGXYtNkZTG2VyrsTDMiyZkxpkUQkBAZfkUcd92osZZLbcmdOapMwkIlMcbxmkKVymISbxqKap@lists.postgresql.org X-Gm-Message-State: AOJu0YzWLeD1X/21nrct1dszf+5TewilBHkaInCSH0Ao/Xnjb8GB86dz D3uLhN9qOlqQhO/y+IEiE0kHCOoJkkGnI44VZzqbxnBet6I1KcR5yopvLm2MgqHx587vO8b7pRj vayGPkHeFCX1Z8/GrCZ4H5FKUVjqYZy8= X-Gm-Gg: Acq92OHearFEsJ16ZoICZEZoRXGhBp5JwnB6A8V5w4x6kkFaZDVZPaWHUE1EpmiECw9 LF8se1wcgFdRBwAtiu2eyXMIRi4SnLNAg9inH7UfHK3FdPwnjheDwnT67Yl9MqTUys8GGD49KxM GEdBVzYdkn40KlsyXFa67aoNxIyq3zqmO0TBraF5iOXJVdOY2mcXy+Y9oiIznhj4yx9e08hvdaL p23EZGWt9YeHx44j8Y5PbDHtgDO2cjfSxl0JhSvazq/9pb1rBcxDEpz0Ql2S85joY1N91sYxQ0D DZCDUSd+/sjYSJ8ACXzHG7hsTlwX3T41ahZRKV6ZnOGfPUcxTKKpsDS5SzkA0hKXqbtUGGG3qMl B43vP0Fc= X-Received: by 2002:a17:903:40ca:b0:2c0:d097:51bb with SMTP id d9443c01a7336-2c4109ed48bmr141234275ad.1.1781504409984; Sun, 14 Jun 2026 23:20:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Mon, 15 Jun 2026 11:49:57 +0530 X-Gm-Features: AVVi8CfpbwXK8XiYp50XgoNAT91eXnh2NMO64zVjnCi3sr7qlQvfC9hshn2ZlPg Message-ID: Subject: Re: Support EXCEPT for TABLES IN SCHEMA publications To: Peter Smith Cc: Nisha Moond , Zsolt Parragi , pgsql-hackers@lists.postgresql.org 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 On Thu, Jun 11, 2026 at 12:17=E2=80=AFPM Peter Smith wrote: > > ////////// > v12-0002 > > =3D=3D=3D=3D=3D=3D > doc/src/sgml/ref/alter_publication.sgml > > 1. > + > + For FOR TABLES IN SCHEMA publications, the > + EXCEPT clause is schema-scoped. If a table lis= ted in > + the EXCEPT clause is later moved to a different= schema > + using ALTER TABLE ... SET SCHEMA, the exclusion= is > + removed; the table will then be published if its new schema is par= t of a > + publication. If the table is subsequently moved back to the origi= nal > + schema, the exclusion is not restored, and must be re-established > + explicitly using ALTER PUBLICATION. Dropping a= table > + always removes it from the EXCEPT clause, > regardless of > + publication type. > + > > > I think the sentence "If the table is subsequently moved back..." is > overkill, and does not need to be said. The prior info "the exclusion > is removed" already tells me the exclusion is gone, and I think is > reasonable to assume "removed" means that it is gone for good, with no > ambiguity that it might magically come back. > > YMMV. Leave it as-is if you prefer. > I feel it is okay to keep the proposed sentence to avoid any ambiguity by the user to consider the schema-scope state is symmetric. --=20 With Regards, Amit Kapila.