Tom Lane wrote: > Bruce Momjian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org