Re: Index AM API cleanup
Nathan Bossart <nathandbossart@gmail.com>
On Wed, Jan 15, 2025 at 03:31:12PM +0100, Peter Eisentraut wrote: > On 04.12.24 15:49, Peter Eisentraut wrote: >> Here is a patch set in that direction. It renames RowCompareType to >> CompareType and updates the surrounding commentary a bit. And then I'm >> changing the gist strategy mapping to use the CompareType values instead >> of the RT* strategy numbers. Seeing this now, I like this a lot better >> than what we have now, because it makes it clearer in the API and the >> code what is a real strategy number and what's a different kind of >> thing. (This isn't entirely the above-mentioned integration of the gist >> support into your patch set yet, but it's a meaningful part of it.) > > I have committed these, and I'll continue working my way through this patch > set now. cfbot's cpluspluscheck step seems to dislike the new CompareType enum declaraction [0]. IIUC that isn't valid in C++. [0] https://api.cirrus-ci.com/v1/task/4946960681009152/logs/headers_cpluspluscheck.log -- nathan
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