Re: Time as keyword - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Time as keyword
Date
Msg-id 7344.1010590104@sss.pgh.pa.us
Whole thread Raw
In response to Re: Time as keyword  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at> writes:
> Imho it would be nice if we could allow "select timestamp(xxx);",
> and this has been the umpteenth request in this regard, and 7.2 is not even 
> released yet.

Unfortunately, there's just no way.  If we tried, it would be ambiguous
whether, say, "timestamp(6)" is a function call or a type name.

This is not one of my favorite parts of SQL92 syntax :-(
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some architectures need "signed char" declarations
Next
From: Bruce Momjian
Date:
Subject: Re: ECPG: include sqlca