Re: logical changeset generation v6.7

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: logical changeset generation v6.7
Date: 2013-11-14 13:46:47
Message-ID: 20131114134647.GA26172@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013-11-12 18:50:33 +0100, Andres Freund wrote:
> > You've actually changed the meaning of this section (and not in a good way):
> >
> > be set at server start. <varname>wal_level</> must be set
> > - to <literal>archive</> or <literal>hot_standby</> to allow
> > - connections from standby servers.
> > + to <literal>archive</>, <literal>hot_standby</> or <literal>logical</>
> > + to allow connections from standby servers.
> >
> > I think that the previous text meant that you needed archive - or, if
> > you want to allow connections, hot_standby. The new text loses that
> > nuance.
>
> Yea, that's because it was lost on me in the first place...

I think that's because the nuance isn't actually in the text - note that
it is talking about max_wal_senders and talking about connections
*from*, not *to* standby servers.
I've reformulated the wal_level paragraph and used "or higher" in
several places now.

Ok, so here's a rebased version of this. I tried to fix all the issues
you mentioned, and it's based on the split off IsSystemRelation() patch,
I've sent yesterday (included here).

Greetings,

Andres Freund

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

Attachment Content-Type Size
0001-Don-t-regard-user-defined-relations-in-pg_catalog-as.patch.gz application/x-patch-gzip 5.0 KB
0002-wal_decoding-Add-wal_level-logical-and-log-data-requ.patch.gz application/x-patch-gzip 16.3 KB
0003-wal_decoding-Log-xl_running_xact-s-at-a-higher-frequ.patch.gz application/x-patch-gzip 3.1 KB
0004-wal_decoding-Add-option-to-use-user-defined-tables-a.patch.gz application/x-patch-gzip 1.7 KB
0005-wal_decoding-Introduce-wal-decoding-via-catalog-time.patch.gz application/x-patch-gzip 67.4 KB
0006-wal_decoding-Implement-VACUUM-FULL-CLUSTER-support-v.patch.gz application/x-patch-gzip 12.6 KB
0007-wal_decoding-Only-peg-the-xmin-horizon-for-catalog-t.patch.gz application/x-patch-gzip 5.3 KB
0008-wal_decoding-Allow-walsender-s-to-connect-to-a-speci.patch.gz application/x-patch-gzip 4.0 KB
0009-wal_decoding-logical-changeset-extraction-walsender-.patch.gz application/x-patch-gzip 10.2 KB
0010-wal_decoding-test_decoding-Add-a-simple-decoding-mod.patch.gz application/x-patch-gzip 3.6 KB
0011-wal_decoding-pg_recvlogical-Introduce-pg_receivexlog.patch.gz application/x-patch-gzip 9.0 KB
0012-wal_decoding-test_logical_decoding-Add-extension-for.patch.gz application/x-patch-gzip 23.2 KB
0013-wal_decoding-design-document-v2.4-and-snapshot-build.patch.gz application/x-patch-gzip 12.9 KB
0014-wal_decoding-Temporarily-add-logical-decoding-regres.patch.gz application/x-patch-gzip 1.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Freire 2013-11-14 13:53:36 Re: Optimize kernel readahead using buffer access strategy
Previous Message Andrew Dunstan 2013-11-14 12:47:38 Re: nested hstore patch