Re: unsupported types in 8.0.1

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Ben <bench(at)silentmedia(dot)com>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: unsupported types in 8.0.1
Date: 2005-03-26 17:24:07
Message-ID: 20050326172406.GA10303@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Mar 26, 2005 at 08:25:24AM -0800, Ben wrote:
>
> gr-test=> select expires from invitecodes where expires <
> ((now())::abstime)::int4;
> ERROR: unsupported type: 23

Hmmm...

CREATE TABLE foo (x integer);
INSERT INTO foo (x) VALUES (1000000000);
INSERT INTO foo (x) VALUES (2000000000);

SELECT x FROM foo WHERE x < now()::abstime::integer;
x
------------
1000000000
(1 row)

ANALYZE foo;

SELECT x FROM foo WHERE x < now()::abstime::integer;
ERROR: unsupported type: 23

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-03-26 17:35:53 Re: unsupported types in 8.0.1
Previous Message Ben 2005-03-26 16:25:24 unsupported types in 8.0.1