Re: [PATCHES] Open Items

Lists: pgsql-hackerspgsql-patches
From: "Zeugswetter Andreas DAZ SD" <ZeugswetterA(at)spardat(dot)at>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] Open Items
Date: 2004-11-02 11:27:10
Message-ID: 46C15C39FEB2C44BA555E356FBCD6FA40184D20E@m0114.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-patches


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


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Zeugswetter Andreas DAZ SD <ZeugswetterA(at)spardat(dot)at>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] Open Items
Date: 2004-11-02 11:33:02
Message-ID: 4187706E.3020506@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-patches


>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.
>
>
Well I don't know that I agree with this. Probably the biggest
problem with Windows is not Windows, it is lazy admins.

You either want to do it right, or you don't. Most Windows admins
just want it to work as quickly as possible, throwing caution and
and common sense to the wind.

And no, I am not a Windows hater, I am just someone who used to
make a lot of money fixing the mistakes of all those lazy admins.

Sincerely,

Joshua D. Drake

>
>
>>>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
>
>---------------------------(end of broadcast)---------------------------
>TIP 8: explain analyze is your friend
>
>

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

Attachment Content-Type Size
jd.vcf text/x-vcard 285 bytes