Re: [pgsql-patches] Win32 WEXITSTATUS too

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Subject: Re: [pgsql-patches] Win32 WEXITSTATUS too
Date: 2007-01-22 23:21:17
Message-ID: 200701222321.l0MNLHH26678@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

bruce wrote:
> Tom Lane wrote:
> > Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > > Bruce Momjian wrote:
> > >> OK, maybe /doc or src/tools. A more radical approach would be to put
> > >> the list in our documentation, or have initdb install it.
> >
> > > Why not put it in techdocs or some such?
> >
> > I think we've learned by now that putting copies of other peoples' code
> > in our tree isn't such a hot idea; what is going to cause it to be
> > updated when things change? How do you know the values are even the
> > same across all the Windows versions we support?
> >
> > Basically this whole idea is misconceived. Just print the number and
> > have done.
>
> And how do people interpret that number?

Ah, I found something:

http://support.microsoft.com/kb/259693

Someone on IRC says that is kernel mode only, and is looking for a
user-mode version, so we would be able to print out a meaningful message
rather than a hex value that has to be looked up.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-22 23:30:21 Re: autovacuum process handling
Previous Message Jim C. Nasby 2007-01-22 23:20:15 Re: pg_dump ANALYZE statements

Browse pgsql-patches by date

  From Date Subject
Next Message Takayuki Tsunakawa 2007-01-23 01:26:31 Re: [HACKERS] Win32 WEXITSTATUS too
Previous Message Bruce Momjian 2007-01-22 22:46:46 Re: [HACKERS] Win32 WEXITSTATUS too