pgsql: Throw a more on-point error for publications depending on column

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Throw a more on-point error for publications depending on column
Date: 2024-05-02 21:36:40
Message-ID: E1s2e6Z-001CIJ-Hd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Throw a more on-point error for publications depending on columns.

Same as 42b041243, except that the trouble case is a publication
WHERE clause that depends on a column.

Again reported by Alexander Lakhin. Back-patch to v15 where
we added publication WHERE clauses.

Discussion: https://postgr.es/m/548a47bc-87ae-b3df-c6a2-60b9966f808b@gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f4a1a0a7758bb3bd0cfa58a48a1537bb2c0024b

Modified Files
--------------
src/backend/commands/tablecmds.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-05-03 08:44:39 Re: pgsql: Fix compilation on OpenSSL 1.0.2 and LibreSSL
Previous Message Alvaro Herrera 2024-05-02 15:28:35 pgsql: Disallow direct change of NO INHERIT of not-null constraints