Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified
Дата
Msg-id 10316.1339469510@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified  (Edmund Horner <ejrh00@gmail.com>)
Ответы Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified  (Edmund Horner <ejrh00@gmail.com>)
Список pgsql-bugs
Edmund Horner <ejrh00@gmail.com> writes:
> On 12 June 2012 14:23, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hm, that patch seems to be several bricks shy of a load.  I will fix
>> two obvious bugs in it:
>> (1) not dump core on boxes where printf("%s", NULL) dumps core;

> I saw that, but I couldn't decide if it was the actual problem in my
> case.  Later parts of adjust_data_dir appeared to be running (looking
> at file system activity).

The weird thing is that if it's not dumping core, the first fopen would
presumably be trying to open "/postgresql.conf", which generally ought
to fail and thus mask any problems in the rest of adjust_data_dir().
Have you by any chance got a postgresql.conf laying about in your root
directory?

            regards, tom lane

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

Предыдущее
От: Edmund Horner
Дата:
Сообщение: Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified
Следующее
От: Edmund Horner
Дата:
Сообщение: Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified