Re: "initdb -t" destroys all databases

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: "initdb -t" destroys all databases
Дата
Msg-id Pine.LNX.4.21.0010171706130.980-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: "initdb -t" destroys all databases  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: "initdb -t" destroys all databases  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian writes:

> Peter, comments?

It doesn't destroy all databases anymore, although I can't make any
statements about what it actually does do.  I suppose it's still broken.

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

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: bug: alter table/FK
Следующее
От: Tom Lane
Дата:
Сообщение: Re: length coerce for bpchar is broken since 7.0