Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group