Re: [SQL] id and ID in CREATE TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] id and ID in CREATE TABLE
Дата
Msg-id 13931.1027100009@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] id and ID in CREATE TABLE  ("scott.marlowe" <scott.marlowe@ihs.com>)
Ответы Re: [SQL] id and ID in CREATE TABLE  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
"scott.marlowe" <scott.marlowe@ihs.com> writes:
> Agreed.  Absolutely.  But, since the SQL standard says upper case,
> wouldn't it be useful to at least have a switch (run time, initdb time,
> or ./configure time???) called something like FOLDTOUPPER (in upper case
> of course :-)

The main problem with this is what do you do with the system catalogs?
If we start folding to upper case then existing clients will break
unless we also rename pg_class to PG_CLASS, etc; and that will break
them anyway if they wrote "pg_class".

I don't believe that conforming to this particular small aspect of the
spec is worth the pain it would cause.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] id and ID in CREATE TABLE
Следующее
От: Tim
Дата:
Сообщение: RAD web development with PostgreSQL?