Re: double quotes in unicode dbs

From: Holger Klawitter <lists(at)klawitter(dot)de>
To: Peter Novodvorsky <nidd(at)altlinux(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: double quotes in unicode dbs
Date: 2002-08-08 13:16:49
Message-ID: 200208081516.49978.lists@klawitter.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> SELECT * FROM TEST1;
>
> works, but
>
> SELECT * FROM "TEST1";

It might be a normal case problem.

Doublequotes make Postgres preserve the case of table names otherwise every is
being converted to lower case. Probably your table is named in lowercase
(either by creating it using "test1" or TEST1 without the double quotes).
You can see the interal name with the "\d" command.

With kind regards / mit freundlichem Gruß
Holger Klawitter
--
Holger Klawitter http://www.klawitter.de
lists(at)klawitter(dot)de

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-08-08 13:27:26 Re: C-function and query
Previous Message Bruno Wolff III 2002-08-08 13:11:00 Re: Create index ... On ... (lower(field1), lower(field2)) doesn't work?