Re: (9.1) btree_gist support for searching on "not equals"
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Jeff Davis <pgsql@j-davis.com>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-08-03T19:16:00Z
Lists: pgsql-hackers
On Mon, Aug 2, 2010 at 11:16 PM, Jeff Davis <pgsql@j-davis.com> wrote: > On Mon, 2010-08-02 at 12:27 -0400, Robert Haas wrote: >> I was also wondering if it would be worth adding some additional >> regression testing to contrib/btree_gist exercising this new >> functionality. Thoughts? > > Sure. I attached two tests. Committed. I renamed the test to "not_equals" rather than "mixed" and added an "EXPLAIN (COSTS OFF)" in there to verify that the index is actually being used. (I might have to remove that if it turns out not to be stable between an index scan and a bitmap index scan, but let's see what the buildfarm says.) -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company