Re: Index AM API cleanup
Peter Eisentraut <peter@eisentraut.org>
Attachments
- v20-0001-TEST-Add-loadable-modules-as-tests-of-the-amapi.patch.gz (application/x-gzip) patch v20-0001
- v20-0002-TEST-Add-treeb-deep-copy-of-btree.patch.gz (application/x-gzip) patch v20-0002
- v20-0003-TEST-Stop-requiring-BTREE_AM_OID-from-within-btr.patch.gz (application/x-gzip) patch v20-0003
- v20-0004-WIP-Add-cluster-support-to-the-index-AM-API.patch.gz (application/x-gzip) patch v20-0004
- v20-0005-TEST-Adjust-treeb-to-use-ambegintscluster.patch.gz (application/x-gzip) patch v20-0005
- v20-0006-TEST-Fixups-for-test-driver.patch.gz (application/x-gzip) patch v20-0006
- v20-0007-TEST-Fix-xash-function-signatures.patch.gz (application/x-gzip) patch v20-0007
- v20-0008-Generalize-hash-and-ordering-support-in-amapi.patch.gz (application/x-gzip) patch v20-0008
- v20-0009-TEST-Adjust-test-modules-to-use-amcanhash-and-am.patch.gz (application/x-gzip) patch v20-0009
- v20-0010-WIP-Some-stuff-in-AlterOpFamilyAdd.patch.gz (application/x-gzip) patch v20-0010
- v20-0011-FIXME-Fix-direct-cast-from-strategy-to-cmptype.patch.gz (application/x-gzip) patch v20-0011
- v20-0012-Use-CompareType-more-and-StrategyNumber-less.patch.gz (application/x-gzip) patch v20-0012
- v20-0013-Generalize-predicate-tests-beyond-btree-strategi.patch.gz (application/x-gzip) patch v20-0013
- v20-0014-Allow-non-btree-indexes-to-participate-in-mergej.patch.gz (application/x-gzip) patch v20-0014
- v20-0015-Replace-various-references-to-btree-strategies.patch.gz (application/x-gzip) patch v20-0015
- v20-0016-TEST-Rotate-treeb-strategy-numbers.patch.gz (application/x-gzip) patch v20-0016
Here is a rebased version of the main patch set. As before, the patches marked [TEST] are not intended for committing, they are just to support testing this patch series. Also, after some offline discussions, we are disregarding patch 0004 "WIP: Add cluster support to the index AM API" for now. It needs a different approach. The remaining patches 0008 Generalize hash and ordering support in amapi 0010 WIP: Some stuff in AlterOpFamilyAdd 0011 FIXME: Fix direct cast from strategy to cmptype 0012 Use CompareType more and StrategyNumber less 0013 Generalize predicate tests beyond btree strategies 0014 Allow non-btree indexes to participate in mergejoin 0015 Replace various references to btree strategies are in play at various stages of readiness. I think 0008 is pretty much ready with some comment and documentation tweaking. 0013 and 0014 are also pretty straightforward. The others (0010, 0011, 0012, 0015) still need a bit of work in some details, but overall the concepts are pretty solid now.
Commits
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Relax ordering-related hardcoded btree requirements in planning
- a8025f544854 18.0 landed
-
Support non-btree indexes in get_actual_variable_range()
- 9ef1851685b7 18.0 landed
-
Convert PathKey to use CompareType
- 8123e91f5aeb 18.0 landed
-
Generalize index support in network support function
- be1cc9aaf5b7 18.0 landed
-
Update a code comment
- 190dc27998d5 18.0 landed
-
Allow non-btree unique indexes for matviews
- 9d6db8bec194 18.0 landed
-
Allow non-btree unique indexes for partition keys
- f278e1fe300a 18.0 landed
-
Add some opfamily support functions to lsyscache.c
- 7317e641268f 18.0 landed
-
Simplify and generalize PrepareSortSupportFromIndexRel()
- a359d3701991 18.0 landed
-
Generalize hash and ordering support in amapi
- ce62f2f2a0a4 18.0 landed
-
Drop opcintype from index AM strategy translation API
- 7d6d2c4bbd73 18.0 landed
-
Allow non-btree speculative insertion indexes
- b92c03342dcd 18.0 landed
-
Support non-btree indexes for foreign keys
- bfe21b760e03 18.0 landed
-
Integrate GistTranslateCompareType() into IndexAmTranslateCompareType()
- 622f678c1020 18.0 landed
-
Convert strategies to and from compare types
- c09e5a6a0165 18.0 landed
-
Move CompareType to separate header file
- 119fc30dd5bd 18.0 landed
-
Add get_opfamily_name() function
- 43493cceda2f 18.0 landed
-
Rename GistTranslateStratnum() to GistTranslateCompareType()
- a5709b5bb293 18.0 landed
-
Change gist stratnum function to use CompareType
- 630f9a43cece 18.0 landed
-
Rename RowCompareType to CompareType
- 6339f6468e82 18.0 landed
-
Improve slightly misleading internal error message
- 63e10988f870 18.0 landed
-
Track scan reversals in MergeJoin
- c594f1ad2ba7 18.0 landed
-
Track sort direction in SortGroupClause
- 0d2aa4d4937b 18.0 landed
-
Add stratnum GiST support function
- 7406ab623fee 18.0 cited
-
Add amgettreeheight index AM API routine
- 56fead44dcc7 18.0 landed