postgresql_16:4.16.3 Row Filters
PostgreSQL 16 > Server Administration > Logical Replication > Row Filters
By default, all data from all published tables will be replicated to the appropriate subscribers. The replicated data can be reduced by using a *row filter*. A user might choose to use row filters for behavioral, security or performance reasons. If a published table sets a row filter, a row is replicated only if its data satisfies the row filter expression. This allows a set of tables to be partially replicated. The row filter is defined per table. Use a WHERE clause after the table name for each published table that requires data to be filtered out. The WHERE clause must be enclosed by parentheses. See (see postgresql_16:7.1.75) for details.
Subsections
- postgresql_16:4.16.3.1 Row Filter Rules
- postgresql_16:4.16.3.2 Expression Restrictions
- postgresql_16:4.16.3.3 UPDATE Transformations
- postgresql_16:4.16.3.4 Partitioned Tables
- postgresql_16:4.16.3.5 Initial Data Synchronization
- postgresql_16:4.16.3.6 Combining Multiple Row Filters
- postgresql_16:4.16.3.7 Examples