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 1wZ0Us-000hKf-2c for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 06:08:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZ0Ur-009zzw-26 for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 06:08:33 +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 1wZ0Ur-009zzn-15 for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 06:08:33 +0000 Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZ0Up-00000000Sxf-0SFh for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 06:08:32 +0000 Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-36d630c0e35so2939524a91.3 for ; Sun, 14 Jun 2026 23:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781503709; cv=none; d=google.com; s=arc-20240605; b=FGblEImUn2V36M77kFMT3bTtQzgpI2H6WqqPPpa7lACkn8pl+wdvNUdRc2buLb0FAY C5mkOVP1YKO2QgVpmwK5rvE8e/QIakDnHdBlvX/buHMC4VNpIb+fAVNBqw0J8E5XvbaZ dzdbdWOxPRKS9+v3t0ZrlkLgaL54msAKEWEz9YROyFZSiHXcxDjagphST1dJR5jNDkaZ HenvH64EBaQTa8d6vVKayGFKCrvEkebtmD2BC9CY2fIR1A79LzsvTnQ8/h3NDyQWu0A4 /zglbCx13FhU5aIkrL/fUEC+WdY/BN6k84860m4jtOAi9d3sDpxDR5pqIaPSpmua279B gSJA== 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=S0hVfYIa+3wjSD3wpSHPNbYwCzUyAPJNSvWIbYlx++I=; fh=jA1y0o48KsEr1ncbKeaqgkONBUmAh+4Dc8UAqTSPpFs=; b=R7VP4KttfIpPNEd72clDCN1tIIfELlngickxGnK2jVtYBOdrF4wy7HoFmMyqbokP9O VSCGNwvK7BYTUuGtsFRI7dDUsa/fWivj5bWGJJnL/ENmHkj0R9Or1C80o9+bZhkAFMPl S0rST8y3kVtEgvguscw3zjV6SYC0cFYmRGD+55o4+6U1lj6sm9gyrxIJjkEdUzvTfEWw RFsflAQyavVKdUrA/z+31vqTG6WgYEOwakE0xNA6nRnxUZGksXGPDaJUEyX7/kC//uIG K9JqrV/DzJy7W1brBcSeS6tzca1dgBy1+fS7m3cf1+vgsoke+hQdn/2iIpX+kuz/WT6D 07zQ==; 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=1781503709; x=1782108509; 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=S0hVfYIa+3wjSD3wpSHPNbYwCzUyAPJNSvWIbYlx++I=; b=K/ug0mlrA7UZ1pah9hLKN8/67ICJK3RCr2cdKUyUkdi1q/4rhZm4B34t7H/bbVWSgp 5PVlsbZg+C6pwg/8RqEXj4bwaK1Eja5q3qG44n7TOuHTM1W3T1Q/NwV8xQhla0CEUFJ8 eu2UuXUcHczrCsvYfeqt7y/uaLPnNZ+3ZjWkz9bUXpajqZ7FvPHIML0jUiA65cdNbBck PQdDxkb66qmuTQyU0MC+j+nzGElUSllL4GZHJCzoDcGtj7ikmG5CVU/nMaKuTWef40Lp jDPpGCVrw+ikW3KE5mr4RB6F7bJYTokciQaGQk9kmx77TNaWON3Cy7Ok/VnjypDUvMZc bDDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781503709; x=1782108509; 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=S0hVfYIa+3wjSD3wpSHPNbYwCzUyAPJNSvWIbYlx++I=; b=crl/gvajHhfewd1cRPlOXZM/DZrbTnw01EZ0QD+LZcPPE9wORT/vB5cJ0Mb49L20Sb vGbFitSyD5VemzJY9AkN9S5gkSLZLyAzdrwGTBAKf+1yPRw6bk9tV75aId8pinj8m2/r pcCzoiC2t+3DS4brnEK9tXFKC1fGdBJ4uHyKn/6bpT89iaI/ylJ6CVRrhsxImK3AIV2q IVrVcI4Nbm4roDIPjWlu4dIxm2XhSRIAcxcWwvHd9+MDbZ+I0bqc0UcUH+kjS7EmbH1P PjLUjc0wnt51zn6uGe6MnGbfJlzEfMvstJLcFdeIg/ot7fGqfOsSmM4eWQHpxQlisJce grIg== X-Gm-Message-State: AOJu0YyFIueQN/awOPnfwsoBMSgyTTB/Bc/gvOaXTdqigtIKJb444ilR xgUYlQyXzRRAkqr0a8nUwtgOgLS3T8xsZQkJfEXcn+9UnUMJOiqsIjh1XSMgVyKuOtVkIRKyIYc q3qHe1yJOLMXJ2e2mHUHRtZX9h6737Oi0XKbvSf3NCg== X-Gm-Gg: Acq92OHaHDdkHz/qY7GEUI+9qQRZx9O2njTK0EaWoy0+qOW8yIs7sPOLljPmeY82f0f ZTc2FR1Y3YCv702VA/YqD7vgEbSQykjfXxC2U98RjhpfssysD29kcDNxxPpJB5PGRMyUVxLIWrk u1owdYhFusqX/vrbgFpNhGl5oF0PhS2965M79mqQYMMyBe//Cu5MnAasDsblvBAqDOuufELIiFy Ipo0CE7oh5M7iB8N5TNX5Xn9SRsUl9zkQZ1vch/qrSWsMNsHzF3+GGOdtB9GsewzaW6PPvmHrp/ n3P9KLoIcCONLRf8DRiybp0aX8HadpVBQMXkj0UgwQwLZNPBG6Ltg+8kDpNNwcck+DVEnyFWcQb e/gVI43E= X-Received: by 2002:a17:903:22ca:b0:2bf:175a:db61 with SMTP id d9443c01a7336-2c6641985bemr97531875ad.7.1781503708862; Sun, 14 Jun 2026 23:08:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Mon, 15 Jun 2026 11:38:16 +0530 X-Gm-Features: AVVi8Cd45GWRphWfqc7KRdl3qtLyZwjsNZAA1lbv5jYjADHqsyXXQIPKGe7K5rg Message-ID: Subject: Re: Support EXCEPT for TABLES IN SCHEMA publications To: Zsolt Parragi Cc: 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 2:24=E2=80=AFAM Zsolt Parragi wrote: > > > Let's wait for feedback from others. > > Yes, I think that's the best approach for this question. > > > Right, As also mentioned above, ALTER TABLE changes that affect > > publication membership currently do not emit any notice or warning, so > > I'm not sure we need one here either. > > My idea was to make this change both for existing cases and new cases > in this patch, so it would be consistent, but that wasn't exactly > clear in my previous email, sorry about that. Similarly to how cascade > reports additional objects being dropped. > IIUC, the objects here we are talking about are removed because of their dependency type AUTO at least the existing case of 'drop table'. So, I think the current behavior suggested by Nisha sounds correct and consistent with the pre-existing 'drop table' case. Also, we display such case at DEBUG2 level, see following code in dependency.c: if (extra->flags & (DEPFLAG_AUTO | DEPFLAG_INTERNAL | DEPFLAG_PARTITION | DEPFLAG_EXTENSION)) { /* * auto-cascades are reported at DEBUG2, not msglevel. We don't * try to combine them with the regular message because the * results are too confusing when client_min_messages and * log_min_messages are different. */ ereport(DEBUG2, (errmsg_internal("drop auto-cascades to %s", We can consider displaying such a message for schema cases, if not already there. --=20 With Regards, Amit Kapila.