Re: Open 7.3 items

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Vince Vielhaber <vev(at)michvhf(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Open 7.3 items
Date: 2002-08-16 04:10:54
Message-ID: 200208160410.g7G4AsU13304@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > If we don't suffix global users with '@', a global user named 'dave'
> > could not attach to a database called 'db1' as himself if a user called
> > 'dave(at)db1' existed.
>
> No, it's the other way around (assuming you check user before user(at)db):
> the existence of a global user would prevent similarly-named local users
> from connecting. This does not strike me as too terrible, assuming that
> there are not very many global users.

Yes, something like that. It could go either way. I never actually
coded the double checking.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2002-08-16 04:16:12 Finally, a list of *big* companies using PostgreSQL for *serious* projects. Why use PostgreSQL? Here's why.
Previous Message Matthew T. O'Connor 2002-08-16 04:02:02 Coding help