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: | Carl Anderson <candrsn(at)mindspring(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: default namespace (schema) confusion |
Date: | 2002-10-18 02:39:02 |
Message-ID: | 200210180239.g9I2d2F18513@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:
> > I dislike double-testing the username in schema areas but not other
> > places. Seems if we do it, we should do it consistently for all
> > username references, or not at all.
>
> What other places do we have an explicit dependence on the username?
Uh, what about CREATE/ALTER/DROP USER, and pg_hba.conf. Of course,
those are more admin, but isn't the schema also sort of admin too?
I am also concerned about opening cases where a CURRENT_USER test
doesn't match the user's schema.
--
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-10-18 03:16:40 | Re: COPY syntax |
Previous Message | Tom Lane | 2002-10-18 02:36:43 | Re: default namespace (schema) confusion |