Re: PostgreSQL Gotchas

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL Gotchas
Дата
Msg-id 9698.1129300794@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL Gotchas  (Greg Stark <gsstark@mit.edu>)
Ответы Re: PostgreSQL Gotchas  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> and the lexer thinks that it should fold unquoted identifiers to upper
>> case, then the catalog entries defining these names had better read
>> PG_CLASS, RELPAGES, and MAX, not the lower-case names they contain
>> today.

> Well the case of unquoted identifiers could be finessed by having it match
> RELPAGES first and fail over to relpages second. It could even be made to
> match RelPages and whatever if there isn't any ambiguity.

[ shrug... ]  Sure, you could invent some rule that might sort of work
most of the time.  But then you've abandoned the sole rationale for the
entire project, which is to *adhere to the standard*.  Any kind of funny
business with the case folding rules will make things worse not better
from that standpoint.

            regards, tom lane

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Using LISTEN/NOTIFY in C#.NET
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: On "multi-master"