On Wed, 2011-02-09 at 18:07 -0500, Chris Browne wrote:
> rangetest@localhost-> create index i2 on some_data (range(whensit));
> CREATE INDEX
If you make this a GiST index, it should work.
The rewrites so that it can use a btree are an interesting idea though.
Regards,Jeff Davis