https://github.com/debezium/postgres-decoderbufs
decoderbufs is a Postgres logical decoding output plugin that delivers the changes as Protocol Buffers messages. It is developed by the Debezium project, and can be used with the Debezium Postgres connector.
Load it with shared_preload_libraries = 'decoderbufs' and wal_level = logical, and use decoderbufs as the plugin name when creating a logical replication slot.
The Postgres RPM repository uses Postgres version numbers in the RPM packages, because decoderbufs is built separately for each Postgres version. For example decoderbufs for Postgres 18 is named as postgres-decoderbufs_18. Similarly decoderbufs for Postgres 17 is named as postgres-decoderbufs_17.
decoderbufs provides the following packages (NN is the Postgres major version):
| Package | Summary |
|---|---|
postgres-decoderbufs_NN |
PostgreSQL Protocol Buffers logical decoder plugin |
postgres-decoderbufs_NN-llvmjit |
Just-in-time compilation support for postgres-decoderbufs |
Install the PGDG repository from: https://zypp.postgresql.org/repopackages/
| OS | Command |
|---|---|
| SuSE Enterprise Linux 16, OpenSuSE Leap 16.0, SuSE Enterprise Linux 15 | zypper install postgres-decoderbufs_18 (or change the version as described above) |
| Postgres version(s) | OS version | Arch | Status |
|---|---|---|---|
| 18,17,16,15,14 | SuSE Enterprise Linux 16 | x86_64 | Available |
| 18,17,16,15,14 | OpenSuSE Leap 16.0 | x86_64 | Available |
| 18,17,16,15,14 | SuSE Enterprise Linux 15 | x86_64 | Available |