summaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-06 10:31:38 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-11-06 10:32:09 +0200
commitecaa4708e5dde5e9f72cdb066780acb4b12ee0ec (patch)
tree71da25393149a4b62a385d822f010d75891f9cd4 /contrib/postgres_fdw/sql
parent920c8261d58c10de7e68d99c8dd21a9650928d59 (diff)
Misc GIN refactoring.
Merge the isEnoughSpace and placeToPage functions in the b-tree interface into one function that tries to put a tuple on page, and returns false if it doesn't fit. Move createPostingTree function to gindatapage.c, and change its contract so that it can be passed more items than fit on the root page. It's in a better position than the callers to know how many items fit. Move ginMergeItemPointers out of gindatapage.c, into a separate file. These changes make no difference now, but reduce the footprint of Alexander Korotkov's upcoming patch to pack item pointers more tightly.
Diffstat (limited to 'contrib/postgres_fdw/sql')
0 files changed, 0 insertions, 0 deletions