Re: BUG #1581: Problem with capitalised DB names...

From: "Marcus v(dot) Scotti" <mvscotti(at)gmail(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>, "Marcus v(dot) Scotti" <m(dot)scotti(at)fry-it(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1581: Problem with capitalised DB names...
Date: 2005-04-11 08:37:08
Message-ID: 3ed6aa8405041101373b563291@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Bruno,

Thanks... (maybe include this in the manuals, I couldn't find this
information...)

Best Regards
Marcus

On Apr 10, 2005 11:23 PM, Bruno Wolff III <bruno(at)wolff(dot)to> wrote:
> On Tue, Apr 05, 2005 at 18:09:25 +0100,
> "Marcus v. Scotti" <m(dot)scotti(at)fry-it(dot)com> wrote:
> >
> > Description: Problem with capitalised DB names...
> > Details:
> >
> > When trying to grant database privileges to a group of users there is no way
> > to do this if the database name is capitalised (i.e. db-name = Test). The
> > error message when performing the grant operation:
> >
> > grant all on DATABASE test to group tgroup;
> >
> > is:
> >
> > ERROR: database "test" does not exist
> >
> > I have used capitalisation an a number of databases, so this now seems to
> > require me to rename them all in to lower-case...
>
> You need to use double quotes (") around database, table or column names that
> are not all lowercase.
>

--
Marcus v. Scotti
Director
Fry-IT LTD

www.fry-it.com

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-04-11 14:25:40 Re: BUG #1547: CREATE TYPE AS error
Previous Message Diego Cattelan 2005-04-11 06:21:45 Re: BUG #1547: CREATE TYPE AS error