Re: FW: getting a crash during initdb

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: FW: getting a crash during initdb
Дата
Msg-id 200404261725.i3QHPuI11709@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: FW: getting a crash during initdb  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-hackers
Merlin Moncure wrote:
> > I have no idea what caused the pg_depend stuff to crash.
> 
> The AV is in postgres.exe following the first SQL call in
> setup_depend().  The problem is not in initdb (it hasn't changed) but
> something in the backend.  Changing the SQL statement made no
> difference: I'd venture a guess that postgres.exe crashes when *any*
> statement is sent to it.  About 20 files have changed since my last
> initdb; I have a list.  Forced initdb + initdb crash = nasty bug, even
> if it's just the cvs version (specific only to windows?).  
> 
> I'll check why the rmdir command is not working as expected.

I just poked around and couldn't figure out the cause.  Initdb should
either remove the directory if it created it, or remove everything _in_
the directory if the directory already existed.  I tried the rmdir/del
/s /q commands in a CMD window and it worked fine.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Thread code not vpath-safe
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: What can we learn from MySQL?