Skip site navigation (1) Skip section navigation (2)

BUG #4718: "select +'8:00'::interval;" gives an error

From: "Roman Kononov" <kononov(at)ftml(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4718: "select +'8:00'::interval;" gives an error
Date: 2009-03-20 04:12:26
Message-ID: 200903200412.n2K4CQ0A020521@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      4718
Logged by:          Roman Kononov
Email address:      kononov(at)ftml(dot)net
PostgreSQL version: 8.3.7
Operating system:   GNU/Linux x86_64
Description:        "select +'8:00'::interval;" gives an error
Details: 

test=# select +'8:00'::interval;
ERROR:  operator does not exist: + interval
LINE 1: select +'8:00'::interval;
               ^
HINT:  No operator matches the given name and argument type(s). You might
need to add explicit type casts.

test=# select -'8:00'::interval;
 -08:00:00

Responses

pgsql-bugs by date

Next:From: Nagendra.KDate: 2009-03-20 05:17:35
Subject: BUG #4719: Convertion of Data from MSSQL to Postgres
Previous:From: Dave PageDate: 2009-03-19 09:00:37
Subject: Re: BUG #4717: Installing PostGIS via StackBuilder gives an 'Error opening file' error

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group