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

From Jaime Casanova
Subject Re: db_user_namespace a "temporary measure"
Date
Msg-id CAJKUy5hC4qQyLVaBBGhQtvN_L=jE8=yk=g7w=f3BzBbVEgLejQ@mail.gmail.com
Whole thread Raw
In response to Re: db_user_namespace a "temporary measure"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: db_user_namespace a "temporary measure"
Re: db_user_namespace a "temporary measure"
List pgsql-hackers
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

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



pgsql-hackers by date:

Previous
From: Rajeev rastogi
Date:
Subject: Re: COPY table FROM STDIN doesn't show count tag
Next
From: Andrew Dunstan
Date:
Subject: Re: db_user_namespace a "temporary measure"