Re: Set new system identifier using pg_resetxlog

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: Set new system identifier using pg_resetxlog
Дата
Msg-id 20140618174828.GC31357@toroid.org
обсуждение исходный текст
Ответ на Re: Set new system identifier using pg_resetxlog  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
At 2014-06-18 10:44:56 -0700, josh@agliodbs.com wrote:
>
> I'm unclear on why we would overload pg_resetxlog for this. 

Because pg_resetxlog already does something very similar, so the patch
is small. If it were independent, it would have to copy quite some code
from pg_resetxlog.

> Wouldn't it be better design to have an independant function,
> "pg_set_system_identifier"?

A *function*? Why?

-- Abhijit



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Set new system identifier using pg_resetxlog
Следующее
От: Shreesha
Дата:
Сообщение: Re: How to change the pgsql source code and build it??