Re: Uppercase to lowercase trigger?

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: Uppercase to lowercase trigger?
Дата
Msg-id CAPTjJmrUubX_q0HCXqM9UPrtRYF2MW4vMG8AS1OSKNB7Py_rnA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Uppercase to lowercase trigger?  (björn lundin <b.f.lundin@gmail.com>)
Список pgsql-general
On Tue, May 15, 2012 at 4:04 PM, björn lundin <b.f.lundin@gmail.com> 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
Дата:
Сообщение: Re: Postgres 9.0 Streaming Replication and Load Balancing?