Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mlw <markw(at)mohawksoft(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: FW: [CYGWIN] 7.2b3 postmaster doesn't start on Win98
Date: 2001-12-04 02:52:45
Message-ID: 21538.1007434365@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

mlw <markw(at)mohawksoft(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-12-04 02:54:06 Re: [SQL] An easy question about creating a primary key
Previous Message Christopher Kings-Lynne 2001-12-04 02:50:06 Re: [SQL] An easy question about creating a primary key