From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | dror <dror_b(at)hotmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Bug with initDB under windows 2003 |
Date: | 2006-08-03 19:23:41 |
Message-ID: | 20060803192341.GC20080@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Aug 03, 2006 at 06:49:31PM +0000, dror wrote:
> Hi James,
>
> I just wanted to inform you all that I solve the issue, it was indeed the nul device as James and Martijn mention.
> I have change the source to redirect the output to a log file, to which I gave permission to the "postgres" user.
> The file (currently) is created at the temp folder.
> This is critical bug due to the fact that on more and more win2003 machines the postgres installation failed to initialize the DB.
To be honest, this is the kind of crap that bugs me about Windows. It
happens all the time that you want to dump the output of a program to
nowhere. And then they make it so only admins can use it? Writing it to
a file is a hack, you don't want the output, that why you send it to
the NUL device.
Have you been able to determine *why* Microsoft made this braindead
decision? Or where it's documented? Their own knowledgebase is filled
with examples of using the device, so I imagine they'll have to post a
workaround somewhere...
> In any case, I am about to push this fix to be part of the formal postgres source.Is anyone know ,who should I write to in order to test and checked this fix to the CSV.
Submit a patch to the patches list, where it will be reveiwed by the
relevenet people.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-08-03 19:37:54 | Re: User-defined typle similar to char(length) varchar(length) |
Previous Message | Rocco Altier | 2006-08-03 18:56:15 | Re: ecpg test suite |