Rename GistTranslateStratnum() to GistTranslateCompareType()
Peter Eisentraut <peter@eisentraut.org>
Rename GistTranslateStratnum() to GistTranslateCompareType() Follow up to commit 630f9a43cec. The previous name had become confusing, because it doesn't actually translate a strategy number but a CompareType into a strategy number. We might add the inverse at some point, which would then probably be called something like GistTranslateStratnum. Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gist/gistutil.c | modified | +1 −1 |
| src/backend/commands/indexcmds.c | modified | +1 −1 |
| src/backend/commands/tablecmds.c | modified | +2 −2 |
| src/backend/executor/execReplication.c | modified | +1 −1 |
| src/include/access/gist.h | modified | +1 −1 |
Discussion
- Index AM API cleanup 48 messages · 2024-08-21 → 2025-04-04