Re: [HACKERS] Keywords - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: [HACKERS] Keywords
Date
Msg-id 36C1A487.9C137D68@trust.ee
Whole thread Raw
In response to Keywords  (Michael Meskes <Michael_Meskes@topmail.de>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Re: [GENERAL] A mistake generates strange result