Re: BUG #1517: SQL interval syntax is accepted by the parser, - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1517: SQL interval syntax is accepted by the parser,
Date
Msg-id 15793.1111248673@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1517: SQL interval syntax is accepted by the parser,  (Roy Badami <roy@gnomon.org.uk>)
Responses Re: BUG #1517: SQL interval syntax is accepted by the parser,  (Roy Badami <roy@gnomon.org.uk>)
List pgsql-bugs
Roy Badami <roy@gnomon.org.uk> writes:
> All the documented interval functionality works fine.  The
> undocumented support for ANSI SQL interval data types and litereals
> doesn't :-/

I think the reason it's not documented is precisely that Tom never
finished it.  It may not be very far away though --- seeing that the
grammar support exists, I suspect the only missing piece is that
interval_in isn't paying attention to the typmod info, as it should
do to disambiguate input like '1'.  Or maybe that support is partially
there but doesn't quite work.  Feel like hacking the code?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Roy Badami
Date:
Subject: Re: BUG #1517: SQL interval syntax is accepted by the parser,
Next
From: Stephan Szabo
Date:
Subject: Re: BUG #1541: Unusually long INSERT times after fresh