Re: default namespace (schema) confusion
| От | Bruce Momjian |
|---|---|
| Тема | Re: default namespace (schema) confusion |
| Дата | |
| Msg-id | 200210180239.g9I2d2F18513@candle.pha.pa.us обсуждение |
| Ответ на | Re: default namespace (schema) confusion (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: