pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Case sensitive
2+ messages / 2 participants
[nested] [flat]

* Case sensitive
@ 2004-03-17 12:26  Przemysław Słupkowski <przemyslaw.slupkowski@euro.coig.pl>
  0 siblings, 1 reply; 2+ messages in thread

From: Przemysław Słupkowski @ 2004-03-17 12:26 UTC (permalink / raw)
  To: pgsql-odbc

Hi
I have a question about creating psql scripts. Is a posible to use upper in names of functions

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Case sensitive
@ 2004-03-17 13:26  Shachar Shemesh <psql@shemesh.biz>
  parent: Przemysław Słupkowski <przemyslaw.slupkowski@euro.coig.pl>
  0 siblings, 0 replies; 2+ messages in thread

From: Shachar Shemesh @ 2004-03-17 13:26 UTC (permalink / raw)
  To: Przemysław Słupkowski <przemyslaw.slupkowski@euro.coig.pl>; +Cc: pgsql-odbc

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/




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-03-17 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-17 12:26 Case sensitive Przemysław Słupkowski <przemyslaw.slupkowski@euro.coig.pl>
2004-03-17 13:26 ` Shachar Shemesh <psql@shemesh.biz>

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