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 1wes04-0055r7-1X for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2026 10:17:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wes03-00Cy5v-0g for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2026 10:16:59 +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 1wes02-00Cy5m-2Z for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2026 10:16:58 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wes00-000000013vu-3dLd for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2026 10:16:57 +0000 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-37fc01881f2so452396a91.1 for ; Wed, 01 Jul 2026 03:16:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782901016; cv=none; d=google.com; s=arc-20260327; b=CImFeG5U67nnxLMQajS5W0AnrywGMittTZoAohWKiphL3sEmpeMXzMckIKeYFcWKHv xaoyUD9bBhmg8Y9BLdpvCDDj8Q07A/EmCjJ9PaDKqevdhPywKY7tdNG0isL3lb5es7WD jjWAvSHpeotnbAyzEe4UtbYjWWZ4PslNRthdLFUYANEUi2Bxp/u878kFGQzT8K8FBtLF vDZZNb60r6Fnksntr296C9IeZQdiql1XiX2aR1iqY0iIOKMZz9rPuCpbr3p/zSq18HYV NWStFuZAUMaskt/sWAAeYtBK4GfOKnVwz/Nhf9ZkOZ7pWobdpDAM8EGc22wGD+GOcEJT P4xQ== 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=2lIshAtekDzezTysbrMtbXU8he/WRhtfp4Xlj7osA9s=; fh=uZQzVGEwHwbGDAi4+wNYSEPVTDGvZPJkt6t1444Gwpk=; b=kgKuGOMIJgQDWeJUi/btVbAIzK8u4YUbHAXiAny1ypwWMpscNgEpQHI57Yl+q8T0r1 cKIRi5iazPt63UYU8L1eYJHnafvTYk7RquTodxEC+bzSo54bnqD6biTShiJdqbZgaMC9 lTVb+EJxLs+hjIHVFu6F7pfYfcnjU5P8NDKRdNCOO5DUgK6zuIl6Ss9HbG/eV5BJ7rdU yeAQE1AvyXIDb4rA7uXo+enoo9dhCdxA0oobJS+LgMqvOKxpP2kGLDx3+THOwdN+r/DT xMZZcn6Z/3HS5efGirDGMkCOp61nm4OvTsACXWTzDZ4Nydk7j6s/wkeeBn1IpHpSizqd qRhQ==; 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=1782901016; x=1783505816; 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=2lIshAtekDzezTysbrMtbXU8he/WRhtfp4Xlj7osA9s=; b=oG2+3+utK1/ftj6+TIy9cVbSVj/+kJxH6dBORihTqeg/1c/QhmdHFN+zMLufnapRey /AuIG+MeKCgIBrK1e4e/t9ecdiSX9MR1AQni4l0VIOPUVpxuGVNj9YoXgws2INTrml7T XTSUMSd7SGB571z8ogc9fJrGsGrVIJgSZQPkO6HktFBOLNERANojJwHT5qzfmZ6p4+dd YvwB9tL6MTFlRhKWFdsNvlEgcLUpWaL0tjGCGL2zBUBME3eJKizzpIXiCGg8N+cJN2U8 PQDIx7BG4mjdk/PpjMVKTSauJeG6xb9ghOKcNzTEPZEJZOCr3AIhPsAwdoav9BvjK00w ZDdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782901016; x=1783505816; 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=2lIshAtekDzezTysbrMtbXU8he/WRhtfp4Xlj7osA9s=; b=l8tQGVUmPLNBtqDoheDCdLoiS7lRsR6Xp/oCsqCE0TkyeJTGjeJKDyVaqAf+xO+kUj DMjU6EZzjISwIOAM93KSz9nHUmCYby8xYuPItduMUKJ8ogL8KJiaAFjkkXXqDhU7ThFr AyI0u6Q48eCPwKLntPg5nZIHxOLaT+FgPyqJDNEjxkB/LN787FjvVocZAPPg9kL8LIA7 OANbV6J4ZV/THIrZbrjbwYWYWPK22tpLJzDQbXi8QEFaUBOiNfUIbI9N26r4Nc5hfVuw eeT0IY8nbvhm+RrT94DhxI186VTT+6shBA/B0g0b5brk0wTb6+Yivwy0B0tCUqxh2svo 6DMw== X-Forwarded-Encrypted: i=1; AHgh+RpygruWYZhddPS2aunaY+XyzviFLNCSPK+Fa/kUOn1ZNniq/GVZ74JMCrAFTlb/Xsa3ZVVRGJ3ruNEI9kCr@lists.postgresql.org X-Gm-Message-State: AOJu0Yz6JbIeihZpHmtejuawAZNXVL6aEvsbjT29C/cd7q0b5gdiPL62 Hayxl9k4FNKlA0hcood0OcUPia3eXG7pIr1krsnN/Fs2mDnLu20wig04jSSPtH3yn78JVFeCkku l7IN+P9nAryzt24F9MEkZxdnSzPrCKFw= X-Gm-Gg: AfdE7cnOateSwoGjlaZUiGOTUI5purBeSFmSeJTE62vLOxAhVlPzIsnqEmdzuIhYMPZ M8YiYCT0ydEdyFKLnaj/HMYXKMGnK+jULxUdOjaXCJNBNS1LMToEZKzDz5Rq0syHwj8cki1OMC0 oGt7z7kR9pIpFBWQndLlI+604eqpdr10CdFngmSdW7lOTQctkN0Dkz7O3nUs29cZFX/PYUouJC6 nrg20lD5fOPOYxkPqVbSfLPUZL+xnvlrmOJdz6bUImEAA+WfI65HMhyrRXx4Ji3JuZPMKHkgBSU Wp4S2+gga4moPGc76uV+v5npt/v9JN/pWjZj8uMaCA== X-Received: by 2002:a17:90b:3890:b0:36d:b424:4f17 with SMTP id 98e67ed59e1d1-380ba84bdd8mr185714a91.1.1782901015994; Wed, 01 Jul 2026 03:16:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: shveta malik Date: Wed, 1 Jul 2026 15:46:43 +0530 X-Gm-Features: AVVi8CeBL5gYV7WOCWAWw6VBC79lwP41cIovhL4XPXFvfl--4EBw1Hpksyk7p4I Message-ID: Subject: Re: Support EXCEPT for TABLES IN SCHEMA publications To: Nisha Moond Cc: Peter Smith , Amit Kapila , Zsolt Parragi , pgsql-hackers@lists.postgresql.org, shveta malik 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 Wed, Jul 1, 2026 at 3:37=E2=80=AFPM Nisha Moond wrote: > > > Besides the above comments, I found and fixed a few additional issues > during further testing: > 1) Fixed an issue where UPDATE/DELETE on an excluded table without > replica identity was still blocked. e.g., > > postgres=3D# create publication pub_h2 for tables in schema s1 except ( t= able t1); > postgres=3D# update s1.t1 set c1=3D3 where c1=3D1; > ERROR: cannot update table "t1" because it does not have a replica > identity and publishes updates > HINT: To enable updating the table, set REPLICA IDENTITY using ALTER TABL= E. > > Excluded tables should not be treated as published for update/delete chec= ks. Nisha, this bug was introduced by your patch or does it exist in 'ALL TABLES Except TABLE' too? thanks Shveta