> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 04 December 2001 02:53
> To: mlw
> Cc: pgsql-hackers@postgreSQL.org
> Subject: Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98
>
>
> 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.
It does (at least on my systems).
/Dave