pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: aklaver@comcast.net
Cc: pgsql-sql@postgresql.org
Subject: Re: FW: Re: Part 1 of several - Converting a varchar to an interval
Date: Wed, 26 Mar 2008 14:14:35 -0400
Message-ID: <906.1206555275@sss.pgh.pa.us> (raw)
In-Reply-To: <032620081730.4863.47EA8835000C8D51000012FF22069997359D0A900E04050E@comcast.net>
References: <032620081730.4863.47EA8835000C8D51000012FF22069997359D0A900E04050E@comcast.net>

aklaver@comcast.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



view thread (11+ messages)  latest in thread

Message-ID: <906.1206555275@sss.pgh.pa.us>
Permalink:  ../906.1206555275@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/906.1206555275@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, aklaver@comcast.net
  Subject: Re: FW: Re: Part 1 of several - Converting a varchar to an interval
  In-Reply-To: <906.1206555275@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox