https://github.com/drowzy/postgrex_pgoutput
https://github.com/drowzy/postgrex_pgoutput
elixir postgres postgres-replication
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drowzy/postgrex_pgoutput
- Owner: drowzy
- License: mit
- Created: 2022-10-05T14:27:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-20T13:36:04.000Z (6 months ago)
- Last Synced: 2025-03-31T14:11:28.593Z (4 months ago)
- Topics: elixir, postgres, postgres-replication
- Language: Elixir
- Homepage:
- Size: 58.6 KB
- Stars: 34
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postgrex.Pgoutput

[](https://hex.pm/packages/postgrex_pgoutput)Encode / decode Postgres replication [messages](https://www.postgresql.org/docs/14/protocol-logicalrep-message-formats.html).
## Usage
See `examples/cdc` for a full example of using `Postgrex.Replication` to implement CDC (Change Data Capture).
## Installation
This package can be installed by adding `postgrex_pgoutput` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:postgrex_pgoutput, "~> 0.2.0"}
]
end
```