Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073