Re: [HACKERS] Keywords

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] Keywords
Дата
Msg-id 36C1A487.9C137D68@trust.ee
обсуждение исходный текст
Ответ на Keywords  (Michael Meskes <Michael_Meskes@topmail.de>)
Список pgsql-hackers
Michael Meskes wrote:
> 
> On Wed, Feb 10, 1999 at 02:28:10AM +0000, Thomas G. Lockhart wrote:
> > However, it is handled in a special way: in contexts where one would
> > expect a type name, "int" is translated to "int4" explicitly (very early
> > on, from gram.y). Otherwise it is not translated.
> 
> And int4 is reserved? Is is not in keywords.c though.

No it's not, it just happens that it is already defined as a type, 
and in postgres defining a table also defines a type. 

In some senses table and type in postgres mean the same thing.

----------------------
Hannu


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result