]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Throw a more on-point error for publications depending on columns.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2024 21:36:31 +0000 (17:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2024 21:36:31 +0000 (17:36 -0400)
commit5f4a1a0a7758bb3bd0cfa58a48a1537bb2c0024b
tree551a073a3b3bbaa75c0c94c8119918415d2a5a83
parentda55e4cd1f407d0ea70d505f7aec06c6e1dfe518
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
src/backend/commands/tablecmds.c