PostgreSQL Gains Support For Logical Decoding
Written by Michael Larabel in Free Software on 4 March 2014 at 11:38 AM EST. 1 Comment
PostgreSQL has picked up a new feature of logical decoding.

This new PostgreSQL database feature adds over ten thousand lines of new code to the open-source server and allows the write-ahead log stream to be decoded into a series of logical changes, per this commit.

PostgreSQL's logical decoding feature is more elegantly described via this mailing list post:
This feature, building on previous commits, allows the write-ahead log stream to be decoded into a series of logical changes; that is, inserts, updates, and deletes and the transactions which contain them. It is capable of handling decoding even across changes to the schema of the effected tables. The output format is controlled by a so-called "output plugin"; an example is included. To make use of this in a real replication system, the output plugin will need to be modified to produce output in the format appropriate to that system, and to perform filtering.

Currently, information can be extracted from the logical decoding system only via SQL; future commits will add the ability to stream changes via walsender.
Look for logical decoding to appear in the PostgreSQL 9.4 release.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Free Software News
Popular News
Trending Reviews & Featured Articles