logical changeset generation v6

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: logical changeset generation v6
Date: 2013-09-14 20:49:13
Message-ID: 20130914204913.GA4071@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

Attached you can find the newest version of the logical changeset
generation patchset. Reduced by a couple of patches because the have
been committed last round. Hurray! and thanks.

The explanation of how to use the patch from last time:
http://archives.postgresql.org/message-id/20130614224817.GA19641%40awork2.anarazel.de
still holds true, so I am not going to repeat it here.

The individual patches are:
0001 wal_decoding: Allow walsender's to connect to a specific database
One logical decoding operation can only decode content from one
database at a time. Because of that the walsender needs to connect
to a specific database. The earlier "replication=on/off" parameter
now also has a valid parameter "database" which allows that.

0002 wal_decoding: Log xl_running_xact's at a higher frequency than checkpoints are done
Imo relatively unproblematic and even useful without changeset extraction.

0003 wal_decoding: Add information about a tables primary key to struct RelationData
Not much comments on this in the past. Kevin thinks we might want to
choose the best candidate key in a more elaborate manner.

0004 wal_decoding: Introduce wal decoding via catalog timetravel
The actual feature. Got cleaned up and shrunk since the last submission.

0005 wal_decoding: test_decoding: Add a simple decoding module in contrib
Example output plugin that's also used for testing.

0006 wal_decoding: pg_receivellog: Introduce pg_receivexlog equivalent for logical changes
Commandline utility to receive the changestream and manipulate slots.

0007 wal_decoding: test_logical_decoding: Add extension for easier testing of logical decoding
Allows to not only create and destroy logical slots which is part of
0005, but also receive the changestream via an SQL SRF.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
0001-Improve-regression-test-for-8410.patch text/x-patch 4.3 KB
0001-wal_decoding-Allow-walsender-s-to-connect-to-a-speci.patch text/x-patch 11.9 KB
0002-wal_decoding-Log-xl_running_xact-s-at-a-higher-frequ.patch text/x-patch 7.3 KB
0003-wal_decoding-Add-information-about-a-tables-primary-.patch text/x-patch 4.2 KB
0004-wal_decoding-Introduce-wal-decoding-via-catalog-time.patch text/x-patch 336.8 KB
0005-wal_decoding-test_decoding-Add-a-simple-decoding-mod.patch text/x-patch 10.2 KB
0006-wal_decoding-pg_receivellog-Introduce-pg_receivexlog.patch text/x-patch 34.6 KB
0007-wal_decoding-test_logical_decoding-Add-extension-for.patch text/x-patch 385.1 KB
0008-wal_decoding-design-document-v2.4-and-snapshot-build.patch text/x-patch 38.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2013-09-14 21:05:23 Re: Assertions in PL/PgSQL
Previous Message Marko Tiikkaja 2013-09-14 20:47:57 Re: Assertions in PL/PgSQL