Re: Why is SERIAL a keyword? - Mailing list pgsql-hackers

From Alessio Bragadini
Subject Re: Why is SERIAL a keyword?
Date
Msg-id 3B7B65B1.BA7CBD55@albourne.com
Whole thread Raw
In response to Why is SERIAL a keyword?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:

> The only downside I can see to this is that it's currently possible to
> use a user-defined type named "serial", if you are determined enough:
> 
> create table foo (
>         f1 serial,              -- it's a serial column
>         f2 "serial",            -- user-defined type named "serial"

I would call it a bug actually...

-- 
Alessio F. Bragadini        alessio@albourne.com
APL Financial Services        http://village.albourne.com
Nicosia, Cyprus             phone: +357-2-755750

"It is more complicated than you think"    -- The Eighth Networking Truth from RFC 1925


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: encoding names
Next
From: Gilles DAROLD
Date:
Subject: Re: Dollar in identifiers