From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Christophe Pettus <xof(at)thebuild(dot)com> |
Cc: | pgsql-general list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Logical decoding output plug-in questions |
Date: | 2015-01-26 23:42:18 |
Message-ID: | 20150126234217.GC4655@awork2.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 2015-01-26 15:35:39 -0800, Christophe Pettus wrote:
> On Jan 26, 2015, at 2:24 PM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
>
> > What's in the old tuple depends on the configured replica identity.
>
> My apologies, but... "configured replica identity"?
Search for "postgres" and "replica identity".
> > The <literal>is_init</literal> parameter will be true when the
> > replication slot is being created [...]
>
> Thanks! I suppose my question then is: Besides slot creation, when is pg_decode_startup called?
Whenever changes from a slot are starting to be consumed. I.e. when you
call one of the SQL functions pg_logical_slot_*_changes or when the
walsender receives a START_LOGICAL_REPLICATION.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2015-01-27 00:13:55 | Re: In need of some JSONB examples ? |
Previous Message | Christophe Pettus | 2015-01-26 23:35:39 | Re: Logical decoding output plug-in questions |