ConduitIO / ConduitIO/conduit-connector-postgres
Feature: Pick the latest logical replication proto version based on server version
- Dominant language
- Go
- Stars
- 19
- Forks
- 12
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 5
Description
### Feature description
The connector always picks version 1 of the proto, however the protocol has evolved over the years.
As per proto versions defined [here](https://www.postgresql.org/docs/current/protocol-logical-replication.html#PROTOCOL-LOGICAL-REPLICATION-PARAMS)
```
Protocol version. Currently versions 1, 2, 3, and 4 are supported. A valid version is required.
Version 2 is supported only for server version 14 and above, and it allows streaming of large in-progress transactions.
Version 3 is supported only for server version 15 and above, and it allows streaming of two-phase commits.
Version 4 is supported only for server version 16 and above, and it allows streams of large in-progress transactions to be applied in parallel.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.