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-001CIF-G7@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91e7115b177b0523f9757574b8a329ebe10c0af7

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

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