Re: Time as keyword

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
Cc: lockhart(at)fourpalms(dot)org, "Dwayne Miller" <dwayne-miller(at)home(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Time as keyword
Date: 2002-01-09 15:28:24
Message-ID: 7344.1010590104@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-09 15:45:44 Re: ECPG: include sqlca
Previous Message Tom Lane 2002-01-09 15:24:37 Re: Some architectures need "signed char" declarations