case sensitivity?

Поиск
Список
Период
Сортировка
От Robert J. Sanford, Jr.
Тема case sensitivity?
Дата
Msg-id HOEFIONAHHKFEFENBMNOGEJGCBAA.rsanford@nolimitsystems.com
обсуждение исходный текст
Ответы Re: case sensitivity?  (hubert depesz lubaczewski <depesz@depesz.pl>)
Список pgsql-general
setup - pgsql 7.1.2 cygwin binary distribution

i first noticed this when running psql - whenever i
perform a select all of the columns are returned as
all lowercase. that wasn't too disturbing, i just
found it to be slightly odd.

what was disturbing was when the same thing happened
going through the odbc driver on win32 and all of my
old perl code that worked under microsoft stopped
working under postgres because i was looking for
keys in the hash retrieved by the $dsn->dataHash()
by the MixedCase names that i used to create the
tables with in the sql.

that meant that i had to run through my code to
modify all of the hash references to all lowercase.
needless to say, that was a pain.

is there any setting that will allow postgres to
keep mixed case column names when creating a db?

rjsjr




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: problems on solaris 7
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problems on solaris 7