Conference Schedule - FOSDEM PGDay 2015

Writing a Logical Decoding Output Plugin

Date: 2015-01-30
Time: 11:30 - 12:20
Room: Place Sablon
Level: Intermediate

PostgreSQL 9.4 introduces the idea of logical decoding: the ability to for a bit of code to receive a stream of changes to the database.This code can do almost anything it wants with them, and the possibilities are endless.

We'll go through how to write your own "bit of code": a logical decoding output plugin. Our example plugin will produce an auditing trail of database changes, and we'll go through the implementation of it step by step.

A small amount of C programming knowledge is required, but less than you might expect.


Christophe Pettus