

> -----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

Tue, 4 Dec 2001 08:35:45 -0000 
Dave Page <dpage@vale-housing.co.uk>
Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98 
Dave Page wrote:
> 
> > -----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.

IIRC, it depends also on filesystem, i.e. FAT32 on NT/2000 dos still
not have proper permissions.

> >  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).

It does what ? Report an error, claim success or need testing ?

--------------
Hannu

Tue, 04 Dec 2001 11:06:15 +0200
Hannu Krosing <hannu@tm.ee>
Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98