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

From Hannu Krosing
Subject Re: [HACKERS] Keywords
Date
Msg-id 36C0C1C0.47979C62@trust.ee
Whole thread Raw
In response to Keywords  (Michael Meskes <Michael_Meskes@topmail.de>)
List pgsql-hackers
Michael Meskes wrote:
> 
> On Mon, Feb 08, 1999 at 01:15:09PM -0500, Bruce Momjian wrote:
> > We don't reserve the type names as keywords, and because they can create
> > their own types, it wouldn't make sense.
> 
> I don't exactly understand that. For instance the 'int' keyword will still
> be reserved, isn't it?
> 

Just tested:

hannu=> create table int(int int);
CREATE

Though:

hannu=> create table int4(int4 int4);
ERROR:  TypeCreate: type int4 already defined
So it's probably not reserved ;)

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


pgsql-hackers by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [HACKERS] Problems with >2GB tables on Linux 2.0
Next
From: Tatsuo Ishii
Date:
Subject: NEXTSTEP porting problems