Re: [bug?] oddity creating table with uppercase initial

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Paul Makepeace <postgresql(dot)org(at)paulm(dot)com>
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: [bug?] oddity creating table with uppercase initial
Date: 2003-06-08 14:15:50
Message-ID: 20030608141550.GA1911@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Jun 02, 2003 at 23:07:24 +0100,
Paul Makepeace <postgresql(dot)org(at)paulm(dot)com> wrote:
>
> Should I simply avoid names with uppercase? This seems like a shame.

You need to use double quotes when referring to objects that have
uppercase letters in their names. Unquoted names are treated as all
lowercase by Postgres.

While you used quotes when creating the table (but not the sequence which
will case you some problems) you didn't use them in the select statement.

My recommendation would be not to really use uppercase in the table names.
You can use uppercase when referring to them to make things more readable,
but just let stuff get converted internally to lower case.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Jeff Eckermann 2003-06-08 18:41:51 Re: [bug?] oddity creating table with uppercase initial
Previous Message Jean-Christian Imbeault 2003-06-08 13:42:31 Re: [bug?] oddity creating table with uppercase initial