Re: [PATCH] session_replication_role = replica with TRUNCATE

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: [PATCH] session_replication_role = replica with TRUNCATE
Дата
Msg-id 87fa890c-a8ca-50b0-ff40-f83a8acc1e45@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [PATCH] session_replication_role = replica with TRUNCATE  (Marco Nenciarini <marco.nenciarini@2ndquadrant.it>)
Ответы Re: [PATCH] session_replication_role = replica with TRUNCATE
Список pgsql-hackers
Hi,

On 02/01/18 17:16, Marco Nenciarini wrote:
> Hi,
> 
> I've tried to amend the documentation to be more clear. Feel free to
> suggest further editing. Patch v2 attached.
> 

I think the patch as is now looks okay. So marking as ready for committer.

This is noteworthy for the release notes though as it's behavior change
compared to old versions.

> Regards,
> Marco
> 
> 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.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Graham Leggett
Дата:
Сообщение: Re: Is there a "right" way to test if a database is empty?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: master make check fails on Solaris 10