| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера