Skip to content

Partitioned tables: changes arrive under leaf partition names and are silently dropped #85

Description

@lukashes

pgoutput sends changes of a partitioned table under the leaf partition's relation name unless the publication sets publish_via_partition_root = true. Our publication doesn't (src/source/postgres/replication_protocol.zig:150-154), and matchStreams compares exact table names (src/processor/processor.zig:20), so a stream configured for the parent table matches nothing: every change to a partition is dropped with only a debug-level log line.

Ask, in two steps:

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions