- Notifications
You must be signed in to change notification settings - Fork4
PostgreSQL logical decoder to JSON
License
NotificationsYou must be signed in to change notification settings
ildus/decoder_json
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A PostgreSQL logical decoder output plugin to deliver data in JSON
- PostgreSQL 9.4+
- libjansson (for JSON support)
make depsmake
Add to your postgresql.conf lines from logical.conf. Then run:
sudo chmod +x `pg_config --pkglibdir`make test
Use built-in JSON from PostgreSQL for output generation.
- https://github.com/xstevens/decoderbufs - uses Protocol Buffers
- https://github.com/michaelpq/pg_plugins/tree/master/decoder_raw - generates SQL queries
- http://git.postgresql.org/gitweb/?p=postgresql.git;a=tree;f=contrib/test_decoding;h=ed74920f61b3440d2d880a8fdfc74ec8d12fcd35;hb=HEAD - sample decoder from postgresql sources