Re: [PATCH] session_replication_role = replica with TRUNCATE - Mailing list pgsql-hackers

From Marco Nenciarini
Subject Re: [PATCH] session_replication_role = replica with TRUNCATE
Date
Msg-id 473fcf49-5fed-7a24-a0a1-05a61a82173e@2ndquadrant.it
Whole thread Raw
In response to Re: [PATCH] session_replication_role = replica with TRUNCATE  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [PATCH] session_replication_role = replica with TRUNCATE
List pgsql-hackers
Hi Peter,

Il 18/01/18 17:30, Peter Eisentraut ha scritto:
> On 1/17/18 11:33, Petr Jelinek wrote:
>>> P.S: I'm struggling to understand why we have two possible values of
>>> session_replication_role settings that behave identically (origin and
>>> local). I'm unable to see any difference according to the code or the
>>> documentation, so I'm wondering if we should document that they are the
>>> same.
>>>
>> It's for use by 3rd party tools (afaik both londiste and slony use it)
>> to differentiate between replicated and not replicated changes.
>
> I have committed some documentation updates and tests to cover this a
> bit better.
>

Thanks, the documentation is a lot clearer now.

This superseded the documentation change that was in the patch, so I've
removed it from the v3 version.

Regards,
Marco

--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it

Attachment

pgsql-hackers by date:

Previous
From: Marco Nenciarini
Date:
Subject: Re: [PATCH] Logical decoding of TRUNCATE
Next
From: Christoph Berg
Date:
Subject: Re: Package version in PG_VERSION and version()