Re: Open 7.3 items - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Open 7.3 items
Date
Msg-id 200208160410.g7G4AsU13304@candle.pha.pa.us
Whole thread Raw
In response to Re: Open 7.3 items  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@db1' existed.
> 
> No, it's the other way around (assuming you check user before user@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@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 by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Coding help
Next
From: Justin Clift
Date:
Subject: Finally, a list of *big* companies using PostgreSQL for *serious* projects. Why use PostgreSQL? Here's why.