Skip to main content
Sync Rules are deprecated. For the Sync Streams version of this page, see Partitioned Tables (Postgres).
For partitioned tables in Postgres, each individual partition is replicated and processed using Sync Rules. To use the same queries and same output table name for each partition, use % for wildcard suffix matching of the table name:
The wildcard character can only be used as the last character in the table name. To match tables across multiple schemas instead, see Wildcard Schemas. When using wildcard table names, the original table suffix is available as the special _table_suffix column, which you can use to filter rows:
When no table alias is provided, the original table name is preserved. publish_via_partition_root on the publication is not supported. The individual partitions must be published.