From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Vince Vielhaber <vev(at)michvhf(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Open 7.3 items |
Date: | 2002-08-14 23:44:25 |
Message-ID: | 200208142344.g7ENiPS26279@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > How about if we just document that they have to create a
> > postgres(at)template1 user before flipping the switch. That way, there is
> > no special user, no PG_INSTALLER file, and no double-tests for user
> > names.
>
> ... and no useful superuser account; if you can't connect to anything
> except template1 then you ain't much of a superuser.
>
> To get around that you'd have to create postgres(at)db1, postgres(at)db2,
> postgres(at)db3, etc etc. This would be a huge pain in the neck; I think
> it'd render the scheme impractical. (Keep in mind that anybody who'd be
> interested in this feature at all has probably got quite a number of
> databases to contend with.)
Yes, I hear you, but that brings us around full-circle to the original
patch with one super-user who is the install user.
I don't know where else to go with the patch at this point. I think
increasing the number of 'global' users is polluting the namespace too
much, and having none seems to be unappealing. This is why I am back to
just the install user.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-14 23:58:31 | Re: Open 7.3 items |
Previous Message | Nigel J. Andrews | 2002-08-14 23:30:05 | Re: Open 7.3 items |