RefLib

Reference library for AI

Back

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

Back