fixed a bug that rendered the plugin unusable. master
authorGurjeet Singh <[email protected]>
Wed, 2 Jun 2010 02:52:34 +0000 (08:22 +0530)
committerGurjeet Singh <[email protected]>
Wed, 2 Jun 2010 02:53:40 +0000 (08:23 +0530)
index_adviser/index_adviser.c

index 7951898e60e13d4b24e2620880e6c6fd414b34e3..fe9988e0449d517eded6d3344ec4f6aacfb1ee3c 100644 (file)
@@ -2209,7 +2209,7 @@ create_virtual_indexes( List* candidates )
        cand->idxoid = index_create( cand->reloid, idx_name,
                                        InvalidOid, indexInfo, BTREE_AM_OID,
                                        InvalidOid, op_class, NULL, (Datum)0,
-                                       false, false, false, true, true );
+                                       false, false, false, true, false );
 
        elog( DEBUG1, "IND ADV: virtual index created: oid=%d name=%s size=%d",
                    cand->idxoid, idx_name, cand->pages );