Re: why isn't TEXT a key word?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why isn't TEXT a key word?
Дата
Msg-id 24881.1074204006@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why isn't TEXT a key word?  (culley harrelson <culley@fastmail.fm>)
Список pgsql-general
culley harrelson <culley@fastmail.fm> writes:
> I thought it was strange that TEXT, a data type, is not a key word.

Why would you think that?  Given that Postgres has an extensible type
system, we'd hardly want type names to be keywords.  They're just
identifiers.

We do have keywords for some types that are mandated to have special
syntax by the SQL spec, such as "character varying(n)", because they
need special processing in the grammar.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bytea/Large Objects/external files best practices
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: How are NULLS stored on disk for PG 7.4?