| From: | Jeff Davis <pgsql(at)j-davis(dot)com> |
|---|---|
| To: | pgsql-bugs(at)postgresql(dot)org |
| Subject: | strange bug with gist over box and circle |
| Date: | 2009-09-16 04:45:32 |
| Message-ID: | 1253076332.24770.165.camel@jdavis |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
If I create a gist index over a box and a circle, the index attributes
appear to both have type box.
I don't see any other, similar situations with other types, and I
haven't investigated the cause yet. Most similar situations work fine.
Regards,
Jeff Davis
postgres=# select version();
version
------------------------------------------------------------------------------------------------------
PostgreSQL 8.5alpha1 on x86_64-unknown-linux-gnu, compiled by GCC gcc
(Debian 4.3.4-2) 4.3.4, 64-bit
(1 row)
postgres=# create table foo5(b box, c circle);
CREATE TABLE
postgres=# create index foo5_idx on foo5 using gist (b,c);
CREATE INDEX
postgres=# \d foo5
Table "public.foo5"
Column | Type | Modifiers
--------+--------+-----------
b | box |
c | circle |
Indexes:
"foo5_idx" gist (b, c)
postgres=# \d foo5_idx
Index "public.foo5_idx"
Column | Type | Definition
--------+------+------------
b | box | b
c | box | c
gist, for table "public.foo5"
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Attila Somogyi | 2009-09-16 12:06:26 | BUG #5060: 8.2 bin install |
| Previous Message | Kenaniah Cerny | 2009-09-16 03:35:07 | BUG #5059: Planner ignores estimates when planning an IN () subquery |