From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Magnus Hagander <mha(at)sollentuna(dot)net> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: windows / initdb oddness |
Date: | 2006-02-21 23:05:48 |
Message-ID: | 43FB9CCC.2060500@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
I wrote:
>
> I will add some trace writes when I get a chance. I was rather hoping
> something would jump out at you, but obviously it hasn't, so I'll have
> to dig into it the slow way. *sigh*
Just eyeballing the code it looks to me like the problem is this line:
strcat(cmdline, *" --restrictedexec"*);
which is appending an option type argument after the non-option argument.
That would exactly account for the failure when we call "initdb foo" but
not "initdb -D foo".
The solution would be put --restrictedexec earlier on the new command
line. I'll work on that.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Jim C. Nasby | 2006-02-22 01:07:02 | Re: streamlined standby procedure |
Previous Message | Peter Eisentraut | 2006-02-21 20:19:37 | Re: pg_config, pg_service.conf, postgresql.conf .... |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2006-02-22 02:29:59 | Re: windows / initdb oddness |
Previous Message | Neil Conway | 2006-02-21 23:05:16 | Re: ScanDirections |