Column name case conversion

From: Zeljko Trogrlic <zeljko(at)technologist(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Column name case conversion
Date: 2000-09-05 11:58:00
Message-ID: 4.1.20000905135546.014948f8@pop.tel.hr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Column names are behaving very strangely. In queries, all names are
converted to lowercase.

Example:

I have a table named "LOCATION".

select * from location;
I get an error message (this is OK)

select * from LOCATION;
I get an error message (this is NOT OK)

select * from "location";
I get an error message (this is OK)

select * from "LOCATION";
Everything works (this is OK)

Is it by design? I think that database shouldn't convert name case in SQL
statements, or it should try to make case-insensitive match (like
Interbase) if double quotes are not used.

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 2000-09-05 11:58:58 Re: Newbie asks ..
Previous Message Peter Mount 2000-09-05 11:42:32 Re: JDBC