Throw a more on-point error for publications depending on columns.
authorTom Lane <[email protected]>
Thu, 2 May 2024 21:36:31 +0000 (17:36 -0400)
committerTom Lane <[email protected]>
Thu, 2 May 2024 21:36:31 +0000 (17:36 -0400)
commit11d40a44ba325f254562a3fbd8ccd2791f12b9b5
tree7bdb9a160d4934c3da1a455cbb72e0f606825538
parentec235d8649170cfae3d6bd11859758538dd0d0f6
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