Re: Change "database system identifier" in pg_control?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Change "database system identifier" in pg_control?
Дата
Msg-id 29504.1166141419@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Change "database system identifier" in pg_control?  (Joshua Colson <joshua.colson@ination.com>)
Ответы Re: Change "shutdown time" was: Change "database system  (Joshua Colson <joshua.colson@ination.com>)
Список pgsql-admin
Joshua Colson <joshua.colson@ination.com> writes:
> So I thought I would try to change the SYSID to 4965793265546637307 and
> have another shot at it.
> I'm not a PG guru so please let me know, is there any chance that what
> I'm doing will be successful, or am I just wasting my time?

You'd have to modify pg_resetxlog to force that value into the sysid
rather than whatever is there.  Hand-editing wouldn't work very well
because of (a) the CRC on pg_control and (b) the need to copy the
value into extant WAL segments.

            regards, tom lane

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

Предыдущее
От: Joshua Colson
Дата:
Сообщение: Change "database system identifier" in pg_control?
Следующее
От: Thomas Markus
Дата:
Сообщение: out of memory in backup and restore