From: Gurjeet Singh Date: Wed, 2 Jun 2010 02:52:34 +0000 (+0530) Subject: fixed a bug that rendered the plugin unusable. X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=HEAD;p=pg_adviser.git fixed a bug that rendered the plugin unusable. --- diff --git a/index_adviser/index_adviser.c b/index_adviser/index_adviser.c index 7951898..fe9988e 100644 --- a/index_adviser/index_adviser.c +++ b/index_adviser/index_adviser.c @@ -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 );