| От | Tom Lane |
|---|---|
| Тема | Re: "initdb -t" destroys all databases |
| Дата | |
| Msg-id | 6961.969913914@sss.pgh.pa.us обсуждение |
| Ответ на | "initdb -t" destroys all databases (Richard Poole <richard.poole@vi.net>) |
| Ответы |
Re: "initdb -t" destroys all databases
|
| Список | pgsql-hackers |
Richard Poole <richard.poole@vi.net> writes:
> It seems that initdb starts a single-user backend but gives it the "-x"
> option, which makes it call BootStrapXLOG, which fails because it
> expects to be called only on absolutely first-time system startup (?).
> initdb sees the failure and removes everything under the data directory,
> which is the wrong behaviour here.
Sounds like a bug to me too. Peter E. has been hacking initdb to be
more robust; Peter, have you fixed this already in current sources?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера