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.94.2) (envelope-from ) id 1vHDje-000FY0-8i for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Nov 2025 04:06:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1vHDid-00Bsgr-I8 for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Nov 2025 04:04: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.94.2) (envelope-from ) id 1vHDid-00Bsgj-4b for pgsql-hackers@lists.postgresql.org; Fri, 07 Nov 2025 04:04:59 +0000 Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vHDib-005qHO-1O for pgsql-hackers@lists.postgresql.org; Fri, 07 Nov 2025 04:04:58 +0000 Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-4ed69197d32so3996021cf.3 for ; Thu, 06 Nov 2025 20:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1762488296; x=1763093096; 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=PKtciS6qXK10NSjUKg3+iM4F4AmvZigG0vVgDgQUbso=; b=EauQHOAaZhITUoZGkdTY9P5E8mocnhl7r7eYqyWdSIuYeqgMLqhRWM4rkKkPCwPlM3 oBwgc6U8lyUdax/KeIj5pDuTQl2A5oEwGc/YvnQX+8R+Ud+MgGq+wSedBetk+SYTbf3V mkNBdepSlwEklQAnzCECn6EInzMh+rAuSTKieQAqncHRFZvEQVrdjeDgfp1cEMedwvec dH7/EEEnvdeGxKZMEtpuPZrgmgQozsqCwrIPrfupfVYNnnrYXntkaF0oHig7QcKgVblH dNADjzdrO826+i+p9tLcqhHjn1zSjaq3+UuNH0arFgsn7Fx3BdBtl6WMmvGgTYLbuklC 2zMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762488296; x=1763093096; 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=PKtciS6qXK10NSjUKg3+iM4F4AmvZigG0vVgDgQUbso=; b=DNPSmcyIgfs4bAj1B2CkZ4/2N2/ldtXdtj/ukesdeqh43b7KTTi+X5kdfYNu9lBqwk 6EC+2/HM1XNZdBX72p0U/yhnOHVATacFVtxV978VY5q71ebW9ioC4Arn1d0DbVJk5Cpo rghPZpI6tgxSFu5NNBcIxk/BtIn/ruw2j6w9mRD6tU0kfLPWjNywWVQH+AqYzDuWH36y Nt2/gd1zIV5ArR9qrnpG4eUieoOrHPbDL6FhWM2S4ybkgAs4Q98QEN/HIvmfpytxGpaB WSSJdmw3J41V5uudGNOM2k4JRF6ji2D/9Gw/4Nh4bx3buYQKUHkM2t+2VYltEG60zwVc tRlw== X-Forwarded-Encrypted: i=1; AJvYcCWAMEmCz1fhDNyvsfNe6yOM0u8AaNEpq3fM+oD+zVzYansFExj9C3qwT4oloc+6BYOe7XIgUM8IaPPmdbFj@lists.postgresql.org X-Gm-Message-State: AOJu0YxICgflG/rQmaxyhFu6BOXtx1UTZkhtcmUEcNLmLY6OBF1A3Al9 IEwQbjSEU/o1wyvIOnPtZ1uq7X15J0Ocx6P2NeMaBOwEJ/vg4v2yqjmABtuDUMwlKUnRKHBAN5h g2uoxs1FVstXFQDmx+fPqx58boWEAqlw= X-Gm-Gg: ASbGncsXytcDv607iA+aPt8/UKntrOY44QCPQ1R0OU/gcPNqY051pQu0+Kn1sy6XYmM Y9TYp1vbMyQZUg/PrwoMh7LltMdHNBaSW4yqTPff4ZhlS9oVu4F1X+UeSlMYPKHYT/OrKU6Dkuq pP19bQ1HX1PVGYGeYIInFFuAMjS5Z5kJ/We3wqQQihBJpzekAAZZrwtkzO4fzgtYi4awANIpP/f jqOiThADIWH7LASuy5I7JdqN4MgNHvEHf3niX9NYPkibrx6qyY5ptqfvePKQHdbjZvegt+7UR2T 5ebbNTKB2D1tZkhtNw== X-Google-Smtp-Source: AGHT+IFDRSRRKu693MjZ+xWExRoTjN8uAOsiixzrN9HqOEDf5ztY0brWjQhk9a1DXL7+elAbDW1b/ZIdwoK93mAdYjQ= X-Received: by 2002:ac8:7f86:0:b0:4ed:7114:b967 with SMTP id d75a77b69052e-4ed94939ca5mr21402281cf.1.1762488295673; Thu, 06 Nov 2025 20:04:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Fri, 7 Nov 2025 15:04:29 +1100 X-Gm-Features: AWmQ_bnOBqD6nk1QEmnoJUS0ZpJWTnrxEy-XDL2SBjc03KG-xirTUFF5K-RUrLk Message-ID: Subject: Re: Skipping schema changes in publication To: Shlok Kyal Cc: vignesh C , Amit Kapila , "Zhijie Hou (Fujitsu)" , YeXiu <1518981153@qq.com>, Ian Lawrence Barwick , Bharath Rupireddy , 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. This is a general comment about the content of these patches. IIUC, the v25* patches currently are currently arranged like this: 0001 - New command ALTER PUBLICATION pubname RESET; 0002 - Add new command: ALTER PUBLICATION pub_name ADD ALL TABLES; - Enhance existing CREATE and the new ALTER syntax for EXCEPT tables 0003 - Enhance existing CREATE and ALTER syntax for EXCEPT col_list ~~~ IMO it is a bug that the ALTER PUBLICATION pub_name ADD/SET ALL TABLES command does not already exist as a supported command. And, that is independent of anything else you are implementing here like RESET or EXCEPT. Therefore, I think that one should be 1st in your patchset; The EXCEPT stuff then just becomes enhancements to existing syntax, which would give a cleaner separation of logic. So, I am suggesting there should be 4 patches instead of 3. e.g. SUGGESTION 0001 - New command: ALTER PUBLICATION pub_name ADD/SET ALL TABLES; 0002 - New command: ALTER PUBLICATION pubname RESET; 0003 - Enhance existing CREATE/ALTER syntax for EXCEPT tables 0004 - Enhance existing CREATE/ALTER syntax for EXCEPT col_list ====== Kind Regards, Peter Smith. Fujitsu Australia