Throw a more on-point error for publications depending on columns.
commit91e7115b177b0523f9757574b8a329ebe10c0af7
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2024 21:36:31 +0000 (2 17:36 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 May 2024 21:36:31 +0000 (2 17:36 -0400)
tree1c8c27c73a678f5654a0bd786cdcbf4c636754ef
parentd45597f72fe53a53f6271d5ba4e7acf8fc9308a1
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