Re: "initdb -t" destroys all databases

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: "initdb -t" destroys all databases
Дата
Msg-id 200010170404.AAA07004@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: "initdb -t" destroys all databases  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: "initdb -t" destroys all databases  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter, comments?


> 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
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [COMMITTERS] pgsql/src/backend/utils/adt (formatting.c oracle_compat.c)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql is 75 times faster with my new index scan