Index-only scans with btree_gist

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Cc: Anastasia Lubennikova <lubennikovaav(at)gmail(dot)com>
Subject: Index-only scans with btree_gist
Date: 2015-03-26 21:31:59
Message-ID: 55147ACF.4080405@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I've pushed Anastasia's patch to support index-only scans with GiST, and
it's time to add opclasses support for all the opclasses that are not
lossy. I think at least all the btree_gist opclasses need to be
supported, it would be pretty surprising if they didn't support
index-only scans, while some more complex opclasses did.

Attached is a WIP patch for that. It covers all the varlen types that
btree_gist supports, and int2, int4 and oid. The rest of the fixed-width
types should be just a matter of copy-pasting. I'll continue adding
those, but wanted to let people know I'm working on this.

- Heikki

Attachment Content-Type Size
0001-Add-index-only-scan-support-to-btree_gist.patch application/x-patch 87.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Ivanicki 2015-03-26 21:37:43 GSoC 2015 proposal: Support for microvacuum for GiST
Previous Message Jim Nasby 2015-03-26 20:32:16 Re: Exposing PG_VERSION_NUM in pg_config