Column name case conversion

Поиск
Список
Период
Сортировка
От Zeljko Trogrlic
Тема Column name case conversion
Дата
Msg-id 4.1.20000905135546.014948f8@pop.tel.hr
обсуждение исходный текст
Ответы Re: Column name case conversion  ("Oliver Elphick" <olly@lfix.co.uk>)
Список 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.

В списке pgsql-general по дате отправления:

Предыдущее
От: "Peter Mount"
Дата:
Сообщение: Re: JDBC
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Newbie asks ..