Re: [PATCHES] Open Items - Mailing list pgsql-hackers

From Zeugswetter Andreas DAZ SD
Subject Re: [PATCHES] Open Items
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA40184D20E@m0114.s-mxs.net
Whole thread Raw
Responses Re: [PATCHES] Open Items  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
> > >     o fix shared memory on Win2k terminal server
> > >
> > >     We might be able to just mark this as not supported.

The shmem code works in a terminal server session with or without the patch.
Magnus had a different problem, probably permissions. Since I do not have a
non admin user (on a TS server) I disabled the win32_is_admin check.

It is my opinion that we should allow pg to run as Admin on Windows, at least
with an override option. Services that run under a specified user are a headache
on Win32, because you need to store a password, and a lot of systems only have
one user.

> > I have attached a patch that I think fixes this. The problem I saw
> > and fixed is, that the shmem created in a terminal services client is not
> > visible to the console (or services.msc).

The decision is simple. If we want the shmem to be global on the machine we need
the patch. I think we want that, but can not give an authoritative answer.

> > I think in addition the system global name "sharemem.1" should be made more
> > pg specific, like "PostgreSQL.1". I have not done this since a new compile
> > would not detect a running old beta. But now would be the time (or never).

I think all agreed that this is good.

Andreas

pgsql-hackers by date:

Previous
From: "Zeugswetter Andreas DAZ SD"
Date:
Subject: Re: [PATCHES] Open Items
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [PATCHES] Open Items