From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Magnus Hagander <mha(at)sollentuna(dot)net>, Merlin Moncure <merlin(dot)moncure(at)rcsonline(dot)com>, Rodrigo Moreno <rodrigo(dot)miguel(at)terra(dot)com(dot)br>, pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: REPOST: InitDB Failure on install |
Date: | 2004-08-23 22:29:46 |
Message-ID: | 412A6FDA.6000603@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Tom Lane wrote:
> "Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
>
>> /* Unable to get shared memory */
>>+ errno = GetLastError();
>
>
> Aren't you going to need a mapping function to convert Windows error
> codes to errno numbers? Don't tell me Microsoft was smart enough to
> make them the same ;-)
How about the idea to set errno to a special value after all non-posix
calls, which makes ereport examine/preserve GetLastError() instead?
Regards,
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2004-08-23 23:29:09 | Re: pgsql-server: Update that 8.0 will support MS Win |
Previous Message | Bruce Momjian | 2004-08-23 21:51:53 | pgsql-server: Update that 8.0 will support MS Win natively. |