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

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "Marcus v(dot) Scotti" <m(dot)scotti(at)fry-it(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1581: Problem with capitalised DB names...
Date: 2005-04-10 22:23:16
Message-ID: 20050410222316.GA13159@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Russell Smith 2005-04-10 22:45:13 Re: BUG #1577: round(dp) function does not round to nearest integer properly
Previous Message Michael Fuhr 2005-04-10 21:34:52 Re: BUG #1547: CREATE TYPE AS error