Doc: Clarify that publication exclusions track table identity. The EXCEPT clause of a FOR ALL TABLES publication tracks each excluded table by its identity rather than by name. As a result, renaming a table or moving it to another schema with ALTER TABLE ... SET SCHEMA leaves the exclusion in place, and the table stays excluded from the publication.
This behavior was not previously documented and could surprise users who might reasonably expect a schema-qualified exclusion to apply only while the table remains in that schema. Add a note to CREATE PUBLICATION to make the behavior explicit. Author: Peter Smith <[email protected]> Reviewed-by: Amit Kapila <[email protected]> Discussion: https://postgr.es/m/cahut+pvq5bqnawcqd6r1tqqd+iajc-cury8wscuxsrphguz...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/77b6dd909252e3a6352e345788a925d3e4768cda Modified Files -------------- doc/src/sgml/ref/create_publication.sgml | 6 ++++++ 1 file changed, 6 insertions(+)
