On Sun, May 25, 2014 at 6:12 AM, Anastasia Lubennikova
> Hi, hackers!
> There are first results of my work on GSoC project "Index-only scans for
> 1. Version of my project code is in forked repository
> Patch is in attachments
> - This version is only for one-column indexes
That's probably a limitation that needs to be fixed before this can be
> - fetch() method is realized only for box opclass (because it's trivial)
That might not need to be fixed before this can be committed.
> 2. I test Index-only scans with SQL script box_test.sql
> and it works really faster. (results in box_test_out)
> I'll be glad to get your feedback about this feature.
Since this is a GSoC project, it would be nice if one of the people
who is knowledgeable about GIST (Heikki, Alexander, etc.) could weigh
in on this before too much time goes by, so that Anastasia can press
forward with this work.
I don't know enough to offer too many substantive comments, but I
think you should remove all of the //-style comments (most of which
are debugging leftovers) and add some more comments describing what
you're actually doing and, more importantly, why.
This comment doesn't appear to make sense:
+ * The offset number on tuples on internal pages is unused.
+ * reasons, it is set 0xffff.
The reason this doesn't make sense is because the tuple in question is
not on an internal page, or indeed any page at all.
The Enterprise PostgreSQL Company
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: