PostgreSQL win32 & NT4

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: PostgreSQL win32 & NT4
Date: 2006-01-13 13:38:07
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7E7C@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

I'm looking at a way to "fix" the issues with admin privileges on Win32
- specifically by finding a way to give up all admin stuff before the
server starts, when possible (and otherwise fail just as today).

I think I can do this. However, it is not possible to do this in a way
that's compatible with NT4. The APIs werent' created then. So from this,
I see two ways to proceed:

1) Do it in a Windows 2000+ way. This will once and for all break
compatibility with NT4 - pg simply will not work any more.

2) Code around it by dynamically loading these functions when available.
With this solution it will still run on NT4 - without this capability.
It will however be quite a bit more code, since all the functions have
to be loaded at runtime.

Now (2) can be done, and it's not hugely much more code for this change.
But the amount of places with issues will continue to go up, and
eventually we're going to have to pull the plug, IMHO. The question is -
is it time to do it now? Or do we wait until we hit a change that leaves
us no choice at all?

(Oh, and as everybody knows, NT4 isn't supported by Microsoft any more,
see
http://www.microsoft.com/ntserver/ProductInfo/Availability/Retiring.asp)

Comments?

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message pmagnoli 2006-01-13 14:12:29 Re: PostgreSQL win32 & NT4
Previous Message Leandro Guimarães Faria Corcete DUTRA 2006-01-13 12:42:55 Surrogate keys (Was: enums)