Skip to content

Replication: a fully streaming API, all the way down #4068

Description

@roji

The replication API in 5.0 reads the entire row as an array of strings. For large rows, this unnecessarily keeps the entire data in memory and can be inefficient.

Expose a fully streaming-compatible API, including even column data (similar to NpgsqlDataReader with CommandBehavior.Sequential). This would mean that memory requirements for logical replication are 100% constant, and not data-dependent.

Activity

  1. added this to the 6.0.0 milestone on Oct 25, 2021
  2. changed the title [-]Replication: a fully streaming API, down to the column[/-] [+]Replication: a fully streaming API, all the way down[/+] on Oct 25, 2021
  3. added a commit that references this issue on Nov 7, 2021
    287cf13
  4. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions