Thanks for the review, Tom, and sorry for the delay in the response! I'm attaching the v8 patchset.
* I reverted the query/key swap in gbt_num_consistent(). * The q2/q4/q8 names stood for "query type int2/4/8", but you're right about them being confusing. I renamed them to gbt_int4_int2_gt and tinfo_int4_int2. * I removed the unrelated whitespace / linebreak changes. I also ran the benchmark tests again just to be sure that the new changes didn't introduce any performance regressions. Best regards!
v8-0001-btree_gist-Pass-the-index-key-first-in-gbt_num_di.patch
Description: Binary data
v8-0002-Implement-cross-type-operators-for-GiST-indexes.patch
Description: Binary data
v8-0003-Add-tests-for-cross-type-operators-for-GiST-index.patch
Description: Binary data
v8-0004-doc-Document-cross-type-operator-support-in-btree.patch
Description: Binary data
