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

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

Commit: 11d40a44ba325f254562a3fbd8ccd2791f12b9b5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-05-02T21:36:31Z
Releases: 16.3
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 +14 −1

Discussion