Re: FW: Re: Part 1 of several - Converting a varchar to an interval

From: aklaver(at)comcast(dot)net (Adrian Klaver)
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: FW: Re: Part 1 of several - Converting a varchar to an interval
Date: 2008-03-26 20:02:51
Message-ID: 032620082002.3220.47EAABEB0006655C00000C9422007503309D0A900E04050E@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

-------------- Original message ----------------------
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> aklaver(at)comcast(dot)net (Adrian Klaver) writes:
> > Select 134987 * interval '1 msec';
> > ERROR: invalid input syntax for type interval: "1 msec"
>
> > SELECT version();
> > version
> >
> --------------------------------------------------------------------------------
> ----------------
> > PostgreSQL 8.2.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.0.3
> (Ubuntu 4.0.3-1ubuntu5)
>
> 8.2.3 is your problem --- this is fixed in 8.2.5 and up:
> http://archives.postgresql.org/pgsql-committers/2007-05/msg00345.php
>
> regards, tom lane

Note to self:
Keep up with bug fixes.

--
Adrian Klaver
aklaver(at)comcast(dot)net

Browse pgsql-sql by date

  From Date Subject
Next Message Shawn 2008-03-26 22:45:53 Re: FW: Re: Part 1 of several - Converting a varchar to an interval
Previous Message Tom Lane 2008-03-26 19:26:31 Re: Bizarre sort order