Re: db_user_namespace a "temporary measure" - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: db_user_namespace a "temporary measure"
Date
Msg-id 531FDA0F.5090407@dunslane.net
Whole thread Raw
In response to Re: db_user_namespace a "temporary measure"  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: db_user_namespace a "temporary measure"  (Jaime Casanova <jaime@2ndquadrant.com>)
Re: db_user_namespace a "temporary measure"  (David Johnston <polobo@yahoo.com>)
List pgsql-hackers
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.

cheers

andrew



pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: db_user_namespace a "temporary measure"
Next
From: Jaime Casanova
Date:
Subject: Re: db_user_namespace a "temporary measure"