Re: [COMMITTERS] [HACKERS] Logical decoding
Thanks a lot for your help!! On Tue, Jul 12, 2016 at 4:42 PM, Fabrízio de Royes Mello < fabriziome...@gmail.com> wrote: > > > On Mon, Jul 11, 2016 at 2:13 AM, Michael Paquier < > michael.paqu...@gmail.com> wrote: > > > > On Mon, Jul 11, 2016 at 2:03 PM, Craig Ringer > wrote: > > > On 9 July 2016 at 01:57, Joshua Bay wrote: > > >> and where are this code is in the codebase? > > > > > > src/backend/replication/logical/* > > > src/backend/replication/walsender.c > > > src/backend/access/transam/xlogreader.c > > > src/include/access/xlogreader.h > > > src/include/replication/output_plugin.h > > > contrib/test_decoding/ > > > doc/src/sgml/logicaldecoding.sgml > > > > Some other references: > > https://wiki.postgresql.org/images/7/77/Fosdem-2015-logical-decoding.pdf > > > > And some other examples of plugins: > > https://github.com/leptonix/decoding-json > > https://github.com/xstevens/decoderbufs > > https://github.com/confluentinc/bottledwater-pg (for kafka) > > https://github.com/michaelpq/pg_plugins/tree/master/decoder_raw (wrote > this one) > > > > Nice, also we have wal2json [1]. > > Regards, > > > [1] https://github.com/eulerto/wal2json > > -- > Fabrízio de Royes Mello > Consultoria/Coaching PostgreSQL > >> Timbira: http://www.timbira.com.br > >> Blog: http://fabriziomello.github.io > >> Linkedin: http://br.linkedin.com/in/fabriziomello > >> Twitter: http://twitter.com/fabriziomello > >> Github: http://github.com/fabriziomello >
Re: [COMMITTERS] [HACKERS] Logical decoding
On Mon, Jul 11, 2016 at 2:13 AM, Michael Paquier wrote: > > On Mon, Jul 11, 2016 at 2:03 PM, Craig Ringer wrote: > > On 9 July 2016 at 01:57, Joshua Bay wrote: > >> and where are this code is in the codebase? > > > > src/backend/replication/logical/* > > src/backend/replication/walsender.c > > src/backend/access/transam/xlogreader.c > > src/include/access/xlogreader.h > > src/include/replication/output_plugin.h > > contrib/test_decoding/ > > doc/src/sgml/logicaldecoding.sgml > > Some other references: > https://wiki.postgresql.org/images/7/77/Fosdem-2015-logical-decoding.pdf > > And some other examples of plugins: > https://github.com/leptonix/decoding-json > https://github.com/xstevens/decoderbufs > https://github.com/confluentinc/bottledwater-pg (for kafka) > https://github.com/michaelpq/pg_plugins/tree/master/decoder_raw (wrote this one) > Nice, also we have wal2json [1]. Regards, [1] https://github.com/eulerto/wal2json -- Fabrízio de Royes Mello Consultoria/Coaching PostgreSQL >> Timbira: http://www.timbira.com.br >> Blog: http://fabriziomello.github.io >> Linkedin: http://br.linkedin.com/in/fabriziomello >> Twitter: http://twitter.com/fabriziomello >> Github: http://github.com/fabriziomello
Re: [COMMITTERS] [HACKERS] Logical decoding
On Mon, Jul 11, 2016 at 2:03 PM, Craig Ringer wrote: > On 9 July 2016 at 01:57, Joshua Bay wrote: >> and where are this code is in the codebase? > > src/backend/replication/logical/* > src/backend/replication/walsender.c > src/backend/access/transam/xlogreader.c > src/include/access/xlogreader.h > src/include/replication/output_plugin.h > contrib/test_decoding/ > doc/src/sgml/logicaldecoding.sgml Some other references: https://wiki.postgresql.org/images/7/77/Fosdem-2015-logical-decoding.pdf And some other examples of plugins: https://github.com/leptonix/decoding-json https://github.com/xstevens/decoderbufs https://github.com/confluentinc/bottledwater-pg (for kafka) https://github.com/michaelpq/pg_plugins/tree/master/decoder_raw (wrote this one) -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers