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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 91e7115b177b0523f9757574b8a329ebe10c0af7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-05-02T21:36:31Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +16 −0

Discussion