From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | maillist(at)candle(dot)pha(dot)pa(dot)us (Bruce Momjian) |
Cc: | lockhart(at)alumni(dot)caltech(dot)edu, tgl(at)sss(dot)pgh(dot)pa(dot)us, hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Re: type coersion (was OR clause status) |
Date: | 1998-08-10 13:55:08 |
Message-ID: | 199808101355.JAA21641@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> Sounds like if we add the proper pg_am functions for binary
> compatability, the optimizer should then use the proper indexes.
>
I just tried this and it failed. Not sure why yet:
test=> explain select * from test where oid = 3;
NOTICE: QUERY PLAN:
Seq Scan on test (cost=1936.05 size=1 width=8)
EXPLAIN
test=> create index i_test3 on test(oid oidint4ops);
ERROR: DefineIndex: oidint4ops class not found
test=> create index i_test3 on test(oid oidint4_ops);
vacuum ;
CREATE
test=> vacuum ;
VACUUM
test=> explain select * from test where oid = 3;
NOTICE: QUERY PLAN:
Seq Scan on test (cost=1936.05 size=1 width=8)
EXPLAIN
--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1998-08-11 02:32:49 | new findoidjoins |
Previous Message | Maarten Boekhold | 1998-08-10 07:20:17 | Re: [HACKERS] How do I construct a varlena? |