Re: REPOST: InitDB Failure on install

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: REPOST: InitDB Failure on install
Date: 2004-08-23 18:20:03
Message-ID: 9517.1093285203@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> What I think we need to do in this case is map the error codes at any
> "API emulation function" to always return a valid errno value, and not a
> Win32 error code. This can only be done at the actual function, since it
> has to be different depending on situation.

How does Microsoft handle this for their existing Posix-compatibility
functions? One would think there is a mapping function somewhere in
that layer. Were they polite enough to expose it, by any chance?

regards, tom lane

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-08-23 18:58:15 Re: REPOST: InitDB Failure on install
Previous Message Magnus Hagander 2004-08-23 17:49:21 Re: REPOST: InitDB Failure on install