Re: Inputting relative datetimes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Inputting relative datetimes
Date
Msg-id 1314450873.2349.28.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Inputting relative datetimes  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: Inputting relative datetimes
List pgsql-hackers
On lör, 2011-08-27 at 12:29 +0100, Dean Rasheed wrote:
> So Robert and Merlin both expressed concerns that the existing
> datetime string parsing code is so complicated that adding to it would
> likely just introduce more bugs.
> 
> My first thought was 'how hard can it be?' - famous last words :-)

Maybe you can find an existing Perl or Python module that has already
implemented this.  Then the solution might be 5 lines of wrapping this
into a PostgreSQL function.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: -Wformat-zero-length
Next
From: Jeff MacDonald
Date:
Subject: Re: Inputting relative datetimes