Re: Uppercase to lowercase trigger?

Поиск
Список
Период
Сортировка
Искать
От
Chris Angelico
Тема
Re: Uppercase to lowercase trigger?
Дата
в 04:57:19
Msg-id
CAPTjJmrUubX_q0HCXqM9UPrtRYF2MW4vMG8AS1OSKNB7Py_rnA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Re: Uppercase to lowercase trigger? Jasen Betts <jasen@xnet.co.nz>
On Tue, May 15, 2012 at 4:04 PM, björn lundin  wrote:
> Hmm, I was under the impression that if you create the table with quoted field names, you get case-sensitive names,
> But if you create the tables without quotes around the the field names, pg will make them lowercase,
> But case-insensitive....

If they're quoted, case is retained; if they're not, they're
lowercased. This rule applies to both creation and referencing, so if
you always leave them unquoted, they are effectively case insensitive
(technically they're case-folded), or if you always quote them,
they're case sensitive.

ChrisA
В списке pgsql-general по дате отправления
От: chinnaobi
Дата:
Сообщение: HotStandby --Advice needed
От: Sumit Raja
Дата:
FAQ