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 1w6AyJ-0041q1-08 for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2026 17:27:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w6AyH-00B3H5-1X for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Mar 2026 17:27:45 +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 1w6AyH-00B3Gx-0b for pgsql-hackers@lists.postgresql.org; Fri, 27 Mar 2026 17:27:45 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w6AyF-00000001M5e-3XVn for pgsql-hackers@postgresql.org; Fri, 27 Mar 2026 17:27:44 +0000 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-2b23f90f53aso2460815ad.0 for ; Fri, 27 Mar 2026 10:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774632463; cv=none; d=google.com; s=arc-20240605; b=kgaR3GK3T6bGThMzDE90Lv3DMKpLE7kxJr77p/9mAKi3UQ5Vx8ZxcNxgRlsDOuvOPG R5vwsVfnghK/E+S9lvLQDcHI6DlmLcv8Dki7HDsOOJWQMNZ26W/ta2BrJAHKLItaCrGf Zl3yobcgMTqjVC6Z8MhNWVTDFWoFu1kR+uRUXXKiWHvfl9lSkAJsOkNyRE5UWVLMeGfv q64QgG/T8tHaoaf6jJW4pL9z3Bh/DbQj9p4ZMBLsZP+YkbLra0kNm6LWDw6gyORwhekE +Pkk97Su0MS3ffRoc6YPPdAJp3l6hQOGoD35nK2j5YrFYXikpTzP2VaDVnyzIJAo3rnB gkZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=aoaOzJPqZkELgr7wI7SPNHFixnaqVHX7ixJntatGp6g=; fh=MJjJyNgossChOT2J5+8GGiO6KYNx5mA0AJ69N7nEUOc=; b=SUpp0NUNvqubREc8vtREKU/+VA/CZUJuTfMneDS6Scke9XwOqWEVDqEXjHYM0PSjBx HYqeo84nyPFji+pZLNQ/6pCMpzBjjB7tXErFtAVrQUidh1elGQbc/I/m0JNkf2zrwb88 hHO2WGFBlAAfOsiy8zKLbe5rIo6/AoRdljXXPd13cnmpKECxYQV1bj1jcxhozNpVDHs5 JjvrJzdSkmnA7h6nK6BKwWu3O+r5Q41KNi3Nz4eCIc9Hwe0vq2NTzlxRuyY9EisQO+MP 69DuOOjGZvNrvXteg6q42KTxDc0tHAOq91CiJP8rs9nU/NvGqOCCjIgh93WeC1tzwrCS v3zg==; darn=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=1774632463; x=1775237263; darn=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=aoaOzJPqZkELgr7wI7SPNHFixnaqVHX7ixJntatGp6g=; b=fnFtnxL/GlG4T9gqC/uIKjKHtq5zJCTZKpRUzWVvOfxKXvVkCb3s7a25Zde/Q5YgUa rH3AaeCgLFB1UH5aFQ1aZifztvT4eNve8FL3fXeyzjqXZvpQIknoD3adYxFIyqSqXwZk u8Dcx2Vvb6+PckuDdYjBzrIac5g1nvZ9C5HKT1CWuv0tMiiJr4SJpG8SycAlGkm9PVEV wG1AGd5vDDx9O9FT5yIDDiYEjpqWzOx9Y0PmOfTDld4eUyPeM3AfLGehZUh3JKVE6211 pP3qaRbcncyCDpc9zYCrlvO328pIDn6ezOxkESMYJaTDVJUiM7zFmRwcLbZHHJ8mdrEk oqKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774632463; x=1775237263; 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=aoaOzJPqZkELgr7wI7SPNHFixnaqVHX7ixJntatGp6g=; b=iLi3fBtl3Y4vt/Mo/617FrwZNC2AuJFZ/KXn0s6OYLtlyIbAqKbBO2QiOu9Z1R63ef B2z6+Hmdu9iS4vP9zCicfZBn8Y/Q5IxhsJgz1yxm7oS7Mjb1Mjfd3s2bX/Ccao5IPkj/ vXcsbgZQwp6eC8HC+MzkY3Sbw+lfulseBVLg65dCqsvM24gGXo6XqlP8+6bNjJXZK7Gp 3CbXVJNc3dFBModl+2uqEe4SURKGdcw+bNlCRwqyKUObx5OWeYIiJBKrhzRSwI3zqgBY P1ekxCHwnySLRrC+PH6HngNRbAIN0UI6qsN5eN8ScN3e1VarCEOTTB+vom9JNXuKQFtP Ghjw== X-Forwarded-Encrypted: i=1; AJvYcCUBNptMn21TdjOP4awlsxKyF9i720G7d5W3RjP8I6p7PhmDgs+cprCpIbpC6EX6o22ugQFr4twYT/DqAGHA@postgresql.org X-Gm-Message-State: AOJu0Ywv1lSaRambdnr7vhqxJgy+Tg96HriEWcTlxDcf7JW+zobwRuM8 JkV9N0V0I6LIYHc98Ow3uy65IbSwgDwJ87eTAz0xz3NKNLKh3jJOX7agQdx2xYJWckkfLrScmYi 84vxEdbOBCxRavC2/1WTRKia09NHolrI= X-Gm-Gg: ATEYQzxt1iq7MGDOgrnyl37ijClRpzatPWnZpxb1c89fnj6MLK6R+bEFRjARxIV8f7v 9WO++ORQF2iS2BGNsUdbZelRkScs9VEBsYVomX/5MqOdTxDmF4Jx/kOytAm/IrTmshlT8+ycwSp wB3qMTi3e8pW6z5KMrg9cTqpM078sn/yvZAeQHdJEDhWSP1gUEWdGzeDglH7i3Cqq4zBUq+ghSs CpGm4qkeqHZRkC3o8lf7C6hDS6MeUG3B57kIqXhEHMmoOn7KpagmG7nXz82vQL4NgLpMN7i09Jh 9q+QDoaYnWOv5yvu9OO6E0dkSf+RPpPZlhoOKwBmIGklDoPz7MeNy2U02vSsuSM1w7UvcxQ= X-Received: by 2002:a17:902:e809:b0:2ae:ced7:4650 with SMTP id d9443c01a7336-2b0cdcbb4b2mr35572655ad.24.1774632463006; Fri, 27 Mar 2026 10:27:43 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Roberto Mello Date: Fri, 27 Mar 2026 11:27:16 -0600 X-Gm-Features: AQROBzBBdZA-KEhzLdnIXJD-l18b8xC3r4gDpYm3hol1mpheyAijZWSmEKAmLmw Message-ID: Subject: Re: pg_publication_tables: return NULL attnames when no column list is specified To: Ajin Cherian Cc: Peter Smith , PostgreSQL Hackers Content-Type: multipart/alternative; boundary="0000000000009080e8064e04d1c3" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009080e8064e04d1c3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 26, 2026 at 10:07=E2=80=AFPM Ajin Cherian w= rote: > > Tested the patch and the patch fixes the bug as described. My tests below= : > Thank you for the review. One observation from reviewing the patch: the test suite covers the > partial column list and dropped column cases well, but is missing a > test for the two-publication conflict scenario (one pub with no list + > one pub with an explicit list of all columns on the same table). That > is the breaking change called out in the original report and probably > deserves its own regression test with a comment explaining the > expected behavior change for users in that configuration. > Patch LGTM otherwise. > Good point. I know I worked on that, so I must have accidentally dropped it from the patch. Will prepare a revision and submit. Thanks again. Roberto Mello Snowflake P.S.: I forgot to acknowledge and thank Greg Mullane for the initial review on the patch, so doing that now. --0000000000009080e8064e04d1c3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Mar 26, 2026 at 10:07=E2=80=AFPM = Ajin Cherian <itsajin@gmail.com= > wrote:

Tested the patch and the patch fixes the bug as described. My tests below:<= br>

Thank you for the review.=C2=A0

<snip>

One observation from reviewing the patch: the test suite covers the
partial column list and dropped column cases well, but is missing a
test for the two-publication conflict scenario (one pub with no list +
one pub with an explicit list of all columns on the same table). That
is the breaking change called out in the original report and probably
deserves its own regression test with a comment explaining the
expected behavior change for users in that configuration.
Patch LGTM otherwise.

Good point. I kno= w I worked on that, so I must have accidentally dropped it from the patch.<= /div>

Will prepare a revision and submit.

=
Thanks again.

Roberto Mello
S= nowflake

P.S.: I forgot to acknowledge and thank G= reg Mullane for the initial review on the patch, so doing that now.
--0000000000009080e8064e04d1c3--