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

From Peter Eisentraut
Subject Re: [PATCH] session_replication_role = replica with TRUNCATE
Date
Msg-id c2fb1ed9-7e20-59a0-741c-36ea4eb46504@2ndquadrant.com
Whole thread Raw
In response to Re: [PATCH] session_replication_role = replica with TRUNCATE  (Petr Jelinek <petr.jelinek@2ndquadrant.com>)
Responses Re: [PATCH] session_replication_role = replica with TRUNCATE
List pgsql-hackers
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.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Faster inserts with mostly-monotonically increasing values
Next
From: Vik Fearing
Date:
Subject: Re: PATCH: psql tab completion for SELECT