| От | Tom Lane |
|---|---|
| Тема | Re: erroneous restore into pg_catalog schema |
| Дата | |
| Msg-id | 8418.1368470147@sss.pgh.pa.us обсуждение |
| Ответ на | Re: erroneous restore into pg_catalog schema (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: erroneous restore into pg_catalog schema
|
| Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes:
> I think we shouldn't check IsPostmasterEnvironment here but instead
> IsBootstrapProcessingMode() since we otherwise can generate oids below
> FirstNormalObjectId in --single mode.
That is, in fact, exactly what we want to do and must do during initdb.
If you change anything about this code you'll break the way the
post-bootstrap initdb steps assign OIDs.
(The comments about "wraparound" are slightly misleading, since those
code blocks also execute during the first OID assignment in normal
mode and the first one in post-bootstrap initdb processing, respectively.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера