ildus / decoder_json

PostgreSQL logical decoder to JSON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

decoder_json

A PostgreSQL logical decoder output plugin to deliver data in JSON

Requirements:

  • PostgreSQL 9.4+
  • libjansson (for JSON support)

Building

make deps
make

Testing

Add to your postgresql.conf lines from logical.conf. Then run:

sudo chmod +x `pg_config --pkglibdir`
make test

TODO:

Use built-in JSON from PostgreSQL for output generation.

Useful links

About

PostgreSQL logical decoder to JSON

License:The Unlicense


Languages

Language:C 90.0%Language:Shell 5.9%Language:Makefile 4.2%