| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Edmund Horner <ejrh00(at)gmail(dot)com> |
| Cc: | pgsql-bugs(at)postgresql(dot)org, Bruce Momjian <bruce(at)momjian(dot)us> |
| Subject: | Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified |
| Date: | 2012-06-12 02:51:50 |
| Message-ID: | 10316.1339469510@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
Edmund Horner <ejrh00(at)gmail(dot)com> writes:
> On 12 June 2012 14:23, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Edmund Horner | 2012-06-12 03:37:39 | Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified |
| Previous Message | Edmund Horner | 2012-06-12 02:30:07 | Re: 9.2 beta2 - pg_ctl crashes on Win32 when neither PGDATA nor -D specified |