Re: db_user_namespace a "temporary measure"

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: db_user_namespace a "temporary measure"
Дата
Msg-id CAJKUy5gO1pZjg4RoA8UO9hcfm5yRD5FQ4NqmavdzCoyzn6ZL0w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: db_user_namespace a "temporary measure"  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Tue, Mar 11, 2014 at 10:52 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>
> On 03/11/2014 11:50 PM, Jaime Casanova wrote:
>>
>> On Tue, Mar 11, 2014 at 10:06 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>>
>>> But not sure how to define a unique
>>> index that allows (joe, db1) to coexist with (joe, db2) but not with
>>> (joe, 0).
>>>
>> and why you want that restriction? when you login you need to specify
>> the db, right? if you don't specify the db then is the global 'joe'
>> that want to login
>>
>
> You can't login without specifying a db. Every session is connected to a db.
>

then, what's the problem with global users?

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566         Cell: +593 987171157



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: db_user_namespace a "temporary measure"
Следующее
От: Haribabu Kommi
Дата:
Сообщение: Re: contrib/cache_scan (Re: What's needed for cache-only table scan?)