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 1weiD4-004xyc-1C for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2026 23:49:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1weiD3-00Agx6-0r for pgsql-hackers@arkaria.postgresql.org; Tue, 30 Jun 2026 23:49:45 +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 1weiD2-00Agwy-35 for pgsql-hackers@lists.postgresql.org; Tue, 30 Jun 2026 23:49:44 +0000 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1weiD0-000000016Vc-45pW for pgsql-hackers@lists.postgresql.org; Tue, 30 Jun 2026 23:49:44 +0000 Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-519eedc30a3so84121cf.1 for ; Tue, 30 Jun 2026 16:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782863381; cv=none; d=google.com; s=arc-20260327; b=qJpVo0znf2sHrhq2fvH1MVMhVM0DRx9YNOjgDMDi4oWDLTYbIxbArJVaRAYjseM2kx 52NNO6CTx0fjdEp60Kk4ThoAqCHZjcrH2qvINyuyk69a4g9aZpcShnGRtHI5940vbf+N ArWJ0QWPPpum5zoYUy2eBG2xY9puChJOExMCpePBea6glxcVvs44ye3RoisTF8mgIGAB R6a9hTBOAGu4P8oA4YAPWHiNMYhFNJrtUTQP7rvWcvU1oqV7O2Myz1aER7EPraQfDTDH FEg47ia4h/F1jpmnqV75DDrhU3rf56xLKFdTxziRKrabf/XV+Dv+EZkN2vHWAuOUhjBg AOKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Q12GNN1WFwsLRxcMj1KPIs/D9anh1jXMgQFM/wqeBIo=; fh=VWpjo2a64VunJY10W7tETAJu/ZygPrs8ctgM18s9VXc=; b=U5JMnqvuZMa2HTJkhByHYk0FT3UNAiNn4yAX1jEjyo490AHpWKbhosnQ6oVI9wVzYU uOdHbnSXjxLSb7I6Wl2FH/PrTM+f6J98vYSjOo7a7InLq1E+XiWj1zNXkhScco/3sbwR vw440R6QBBAh/k8JAlIz+Dj72bRbJYshW+fFWVZlVbIX2v2PCU+D4LuubFwc6/GTgJbw 96bhnrz2zmkqSeos9J41Q7M1SRH1RbwL/R4dykRWnBgP2Zbb8xHnCT4VNMJLsrLZlUUf Ao+/923DYkGk9+LYBA9pt1NE/WJTkn61a44PePWdZdcPMYV+hsRH7b3iVeTP3gNA5/u8 5eVA==; 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=1782863381; x=1783468181; 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=Q12GNN1WFwsLRxcMj1KPIs/D9anh1jXMgQFM/wqeBIo=; b=qH7irlfdWRsm/EEn2o/e5UgLTqnt8zpVf9JFZ+1IICdaZXNZ4UkNs+ev+jIsUaUPR9 UOS6Fj5sLtnjr3uG7PpvxmHNETqxG9dsfxc6jj6np5lnIvM8fHNLQKphCiVakbdnvpFS 1auCSQCCxMT4yhqWPpNW5Tx56cFkWm+HVvgdmvVIb3NIXnwOSBhkc0ZApquOTSxj96lC c+1y93ACL5kvTzaScFnhdnr8M1cMUsLj5s67RMk4qEpuJ4lGk6NWE4l5YZ0IixpiHR43 vm9/R7SaQes4JKBfwOCB8dfet8i7LXZzK1fziDvQEZqs4Dw+FnRyETeZr2ppFXlMlGB5 nPYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782863381; x=1783468181; 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=Q12GNN1WFwsLRxcMj1KPIs/D9anh1jXMgQFM/wqeBIo=; b=PXzcV09pYYexQOtX3qW+Y5Fsl0np2BBTn8XbGmH2HfCoZJk3DsxjwwrJFz0meph/AG YGeDDe841HkANM4LUIAkbxp9UxRrKHSc/5bgYj3JDgHJOaoUWFSOV/4U9KjHO/LAmltj HqZlF/K6F2WmecZlKDx6b8yhGGi1f1ekLDgMosABQ9Tcn7XwntwqdXDQCVrTEvsr9sDk knFBG/jupsqhRouQqfDV+VjCanxUjrOfRlIPjr1r6HneahIS6ciqiL52pOhnMwqTy6O6 JruyHzNGsKwIC/Aqa7sH0jXM2bLsR6Grt2ezC8TN4fY5baUFmi79WR/zy7h0N6lMEB82 ZzTw== X-Forwarded-Encrypted: i=1; AFNElJ9OyasPsDVgfn0Y0vCNdxIK7xalbWlUtKXZO2JLvkPC8otG5lA8E4ktzD/0MUKMma49dNyXZAaunQnU8KyL@lists.postgresql.org X-Gm-Message-State: AOJu0YwCblGg/kxwKPB7x65TK79hy56gGwtk1JilxpjrlPCfuBLKbRid 4oAhapmgDCSg0xmOsRKhdaFa+Zw0IQMdvDQxKl5oLkuAVxJqhnlxxVnoP0FNgTN2aFuktKVFa7w EIltX7PdaFw33ZXyAHnPiIl+++e5PbGM= X-Gm-Gg: AfdE7cmdzCNC8XdywDw/IUfrY45kNpt36HhI49P3JUvjIlUi9kpA3klKZPQ+K/VeZ6g zvNPyn7bU/yInFW4z9jGSqoshrQLBI3UQ4rbuLtrNmpGFdRmg9UHW5AopalYcDYnSrIls9vLKTB 2xcxDJOIiL502wnx2BgTdMkCLgW9Qkvseoh6pJoB1JpGrClD5yxn0homOQkkzU1NWvNmTZ21RVM 8qChhIv5ibfS42x4foakvYMVzFEtYEgi4X1astqYipbKgj++Qr8wttASO4fdFr7T1RA5in4TCbv ub0BFDY4 X-Received: by 2002:a05:622a:1354:b0:51c:1ff:2515 with SMTP id d75a77b69052e-51c1cb6cd69mr40020161cf.65.1782863380894; Tue, 30 Jun 2026 16:49:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Wed, 1 Jul 2026 11:49:13 +1200 X-Gm-Features: AVVi8CeXOrFclIkAAXR7O0QZEmy-FBBZ0pgdiz1yzEcD5eIz-0VTKCIee-ka0-w 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 Hi Shlok. Some review comments for v15. ////// v15-0001 ////// ====== GENERAL 1. The "20devel" is available, so now you can modify those version checks in pg_dump.c and describe.c code. ====== src/test/regress/sql/publication.sql 2. +-- fail - table object is specified in EXCEPT sequence list +CREATE TABLE tab1(a int); +CREATE PUBLICATION regress_pub_should_fail FOR ALL SEQUENCES EXCEPT (SEQUENCE tab1); All the other objects have a `regress_` prefix so should this be `regress_tab1`? ~~~ 3. +-- Test combination of ALL SEQUENCES and ALL TABLES with EXCEPT clause +SET client_min_messages = 'ERROR'; +CREATE PUBLICATION regress_pub_for_allsequences_alltables_except FOR ALL TABLES EXCEPT (TABLE testpub_tbl1), ALL SEQUENCES EXCEPT (SEQUENCE regress_seq0); +\dRp+ regress_pub_for_allsequences_alltables_except +RESET client_min_messages; 3a. I suggest moving this test to be grouped with the earlier non-failing tests. Probably then you won't need the extra set/reset client_min_messages. ~ 3b. Maybe you could have excluded the same `tab1` (renamed `regress_tab1`) that was created, instead of excluding some random table from elsewhere. ====== src/test/subscription/t/037_except.pl 4. +$node_subscriber->safe_psql('postgres', + 'DROP SUBSCRIPTION tap_sub_all_seq_except'); +$node_publisher->safe_psql('postgres', + 'DROP PUBLICATION tap_pub_all_seq_except1'); +$node_publisher->safe_psql('postgres', + 'DROP PUBLICATION tap_pub_all_seq_except2'); + $node_publisher->stop('fast'); Missing a comment that says "Cleanup" ? ====== Kind Regards, Peter Smith. Fujitsu Australia