RefLib

Reference library for AI

Back

postgresql_16:4.16.3.6 Combining Multiple Row Filters

PostgreSQL 16 > Server Administration > Logical Replication > Row Filters > Combining Multiple Row Filters

If the subscription has several publications in which the same table has been published with different row filters (for the same publish (see sql-createpublication-with-publish) operation), those expressions get ORed together, so that rows satisfying *any* of the expressions will be replicated. This means all the other row filters for the same table become redundant if: One of the publications has no row filter. One of the publications was created using FOR ALL TABLES (see sql-createpublication-for-all-tables). This clause does not allow row filters. One of the publications was created using FOR TABLES IN SCHEMA (see sql-createpublication-for-tables-in-schema) and the table belongs to the referred schema. This clause does not allow row filters.

Back