Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98
Date
Msg-id 21538.1007434365@sss.pgh.pa.us
Whole thread Raw
In response to Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98  (Horák Daniel <horak@sit.plzen-city.cz>)
List pgsql-hackers
mlw <markw@mohawksoft.com> writes:
> I'll write and test something with cygwin this week if that would help. (If
> someone can get to it first it is something stupid like "GetWindowsVersion()"
> or something like that.

Well, the non-stupid part is to know which return values correspond to
Windows versions that have proper file permissions and which values to
versions that don't.  Given that NT and the other versions are two
separate code streams (no?), I'm not sure that distinguishing this is
trivial, and even less sure that we should assume all future Windows
releases will have it.  I'd be more comfortable with an autoconf-like
approach: actually probe the desired feature and see if it works.

I was thinking this morning about trying to chmod the directory and,
if that doesn't report an error, assuming that all is well.  On Windows
it'd presumably claim success despite not being able to do what is asked
for.  But this would definitely require testing.

I'm really not happy about the idea of holding up the release for this...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: [SQL] An easy question about creating a primary key
Next
From: Tom Lane
Date:
Subject: Re: Performance problem with large insert statements