Issue with range types and casts?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Issue with range types and casts?
Date: 2013-03-08 23:27:34
Message-ID: 513A73E6.2070405@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


select version();
version

--------------------------------------------------------------------------------------------------------------
PostgreSQL 9.2.3 on x86_64-unknown-linux-gnu, compiled by gcc (GCC)
4.4.6 20120305 (Red Hat 4.4.6-4), 64-bit

create table tenmin as select * from sampledata where collect_ts <@
'[2013-01-01 00:00:00,2013-01-01 00:10:00)';
ERROR: could not find range type for data type timestamp with time zone
Time: 0.189 ms

This seems like it ought to be fixable. Postgres has figured out that
it needs to find the range type for timestamptz. Why can't it?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Josh Berkus 2013-03-09 00:27:30 New kind of crash?
Previous Message Peter Kroon 2013-03-08 20:36:55 Re: Nested xmlagg doesn't give a result 9.2.3