Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: 0008-wal_decoding-design-document-v2.4-and-snapshot-build.patch
Description: text/x-patch (38.9 KB)
Attachment: 0007-wal_decoding-test_logical_decoding-Add-extension-for.patch
Description: text/x-patch (385.1 KB)
Attachment: 0006-wal_decoding-pg_receivellog-Introduce-pg_receivexlog.patch
Description: text/x-patch (34.6 KB)
Attachment: 0005-wal_decoding-test_decoding-Add-a-simple-decoding-mod.patch
Description: text/x-patch (10.2 KB)
Attachment: 0004-wal_decoding-Introduce-wal-decoding-via-catalog-time.patch
Description: text/x-patch (336.8 KB)
Attachment: 0003-wal_decoding-Add-information-about-a-tables-primary-.patch
Description: text/x-patch (4.2 KB)
Attachment: 0002-wal_decoding-Log-xl_running_xact-s-at-a-higher-frequ.patch
Description: text/x-patch (7.3 KB)
Attachment: 0001-wal_decoding-Allow-walsender-s-to-connect-to-a-speci.patch
Description: text/x-patch (11.9 KB)
Attachment: 0001-Improve-regression-test-for-8410.patch
Description: text/x-patch (4.3 KB)

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2013-09-14 21:05:23
Subject: Re: Assertions in PL/PgSQL
Previous:From: Marko TiikkajaDate: 2013-09-14 20:47:57
Subject: Re: Assertions in PL/PgSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group