From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)in>" <shridhar_daithankar(at)persistent(dot)co(dot)in> |
Cc: | "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Fwd: Re: [GENERAL] Extracting time from timestamp |
Date: | 2003-03-21 06:55:16 |
Message-ID: | 10683.1048229716@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)in>" <shridhar_daithankar(at)persistent(dot)co(dot)in> writes:
> And What's so holy about "" if it is a function?
The problem is that TIME(n) is a datatype name, not a function call,
according to the SQL spec. Likewise for TIMESTAMP(n), INTERVAL(n),
NUMERIC(m,n), and maybe one or two other special cases I've forgotten.
The SQL spec's love of special-purpose syntaxes is one of its worst
features IMHO ...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Shridhar Daithankar<shridhar_daithankar@persistent.co.in> | 2003-03-21 07:11:21 | Re: Fwd: Re: [GENERAL] Extracting time from timestamp |
Previous Message | Christopher Kings-Lynne | 2003-03-21 06:50:23 | Re: [GENERAL] Extracting time from timestamp |