Re: Set new system identifier using pg_resetxlog

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Set new system identifier using pg_resetxlog
Дата
Msg-id 53A1D018.9010608@agliodbs.com
обсуждение исходный текст
Ответ на Set new system identifier using pg_resetxlog  (Petr Jelinek <petr@2ndquadrant.com>)
Ответы Re: Set new system identifier using pg_resetxlog
Re: Set new system identifier using pg_resetxlog
Re: Set new system identifier using pg_resetxlog
Список pgsql-hackers
On 06/13/2014 05:31 PM, Petr Jelinek wrote:
> Hello,
> 
> attached is a simple patch which makes it possible to change the system
> identifier of the cluster in pg_control. This is useful for
> individualization of the instance that is started on top of data
> directory produced by pg_basebackup - something that's helpful for
> logical replication setup where you need to easily identify each node
> (it's used by Bidirectional Replication for example).

I'm unclear on why we would overload pg_resetxlog for this.  Wouldn't it
be better design to have an independant function,
"pg_set_system_identifier"?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Set new system identifier using pg_resetxlog
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Set new system identifier using pg_resetxlog