From: Shachar Shemesh <psql@shemesh.biz>
To: Przemysław Słupkowski <przemyslaw.slupkowski@euro.coig.pl>
Cc: odbc postgres <pgsql-odbc@postgresql.org>
Subject: Re: Case sensitive
Date: Wed, 17 Mar 2004 15:26:56 +0200
Message-ID: <40585220.8000909@shemesh.biz> (raw)
In-Reply-To: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com>
References: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com>
Przemysław Słupkowski wrote:
> Hi
> I have a question about creating psql scripts. Is a posible to use
> upper in names of functions
The SQL standard dictates that unquoted identifiers have their case
folded to upper case. Postgresql ignores this altogether under the claim
that "uppercase is ugly". PostgreSQL folds unquoted identifiers to
lowercase. If you are not converting from a different database, this
should not matter to you.
In order to call upper case functions, or upper case tables for that
matter, you have to quote them. Thus, instead of saying
Select * from TABLE
You need to do
select * from "TABLE"
This will allow you to call uppercase identifiers.
--
Shachar Shemesh
Lingnu Open Systems Consulting
http://www.lingnu.com/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: psql@shemesh.biz, przemyslaw.slupkowski@euro.coig.pl
Subject: Re: Case sensitive
In-Reply-To: <40585220.8000909@shemesh.biz>
References: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com> <40585220.8000909@shemesh.biz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox