Обсуждение: session_replication_role origin vs local

Поиск
Список
Период
Сортировка

session_replication_role origin vs local

От
Peter Eisentraut
Дата:
Does anyone know what the difference between the
session_replication_role settings of 'origin' vs 'local' is supposed to
be?  AFAICT, the code treats them the same and has done since this
feature was initially introduced.



Re: session_replication_role origin vs local

От
Robert Haas
Дата:
On Fri, May 29, 2015 at 10:49 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> Does anyone know what the difference between the
> session_replication_role settings of 'origin' vs 'local' is supposed to
> be?  AFAICT, the code treats them the same and has done since this
> feature was initially introduced.

I assume that 'local' is meant to be used on a replica node when
applying non-replicated changes that are only being done locally.  But
that's just a guess.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company