Skip to content

Update pgwire-replication requirement from 0.2 to 0.3 - #8

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/pgwire-replication-0.3
Open

Update pgwire-replication requirement from 0.2 to 0.3#8
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/pgwire-replication-0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 2, 2026

Copy link
Copy Markdown

Updates the requirements on pgwire-replication to permit the latest version.

Changelog

Sourced from pgwire-replication's changelog.

[0.3.1] - 2026-03-28

Improved

  • Drain-phase tight loop in stream_loop: while the BufReader has buffered data, reads up to 256 messages without select!/timeout overhead, then falls back to the wait path only when the buffer is empty
    • Eliminates per-message tokio timer registration/deregistration during burst reads
  • Reusable read buffer via read_backend_message_into(): reuses a BytesMut across messages instead of allocating a new Vec per WAL message
    • Reduces allocator pressure during high-throughput streaming

Benchmarked

  • Postgres CDC backlog drain: 37K -> 48K events/s (+32%) in DeltaForge on Docker (direct connection, batch=4000, kafka linger.ms=0)

[0.3.0] - 2026-03-27

Changed

  • Breaking: PgWireError::Io now wraps Arc<std::io::Error> instead of String
    • Consumers can match on .kind() (e.g. ErrorKind::UnexpectedEof, ConnectionReset) instead of brittle substring matching on error messages
    • PgWireError remains Clone via the Arc wrapper

Improved

  • Wrapped the replication stream in a 128KB BufReader, batching WAL messages into fewer recv() syscalls
    • Reduces syscall overhead significantly during backlog drain scenarios

Removed

  • Replaced rustls-pemfile dependency with rustls-pki-types PEM parsing (already in the dependency tree via rustls)
    • Resolves RUSTSEC-2025-0134 (unmaintained crate)

[0.2.0] - 2026-02-08

Added

  • Support for pg_logical_emit_message() via new ReplicationEvent::Message variant
    • Messages are always enabled (messages 'true' in pgoutput protocol options); zero overhead when unused
    • Both transactional and non-transactional messages are supported
    • Events include prefix (application-defined string), content (raw bytes), lsn, and transactional flag
  • Unix domain socket connections: set host to a socket directory path (e.g. /var/run/postgresql)
    • Follows libpq convention: any host starting with / is treated as a socket directory
    • Socket path is {host}/.s.PGSQL.{port}
    • ReplicationConfig::unix() convenience constructor
    • ReplicationConfig::is_unix_socket() and ReplicationConfig::unix_socket_path() helpers

Changed

  • START_REPLICATION now includes messages 'true' in pgoutput options (previously only proto_version and publication_names)

[0.1.2] - 2025-01-17

Fixed

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pgwire-replication](https://github.com/vnvo/pgwire-replication) to permit the latest version.
- [Changelog](https://github.com/vnvo/pgwire-replication/blob/main/CHANGELOG.md)
- [Commits](vnvo/pgwire-replication@v0.2.0...v0.3.1)

---
updated-dependencies:
- dependency-name: pgwire-replication
  dependency-version: 0.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Apr 2, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: dependencies, rust. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants