mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
Rename GistTranslateStratnum() to GistTranslateCompareType()
Follow up to commit 630f9a43ce. 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
This commit is contained in:
@@ -248,6 +248,6 @@ typedef struct
|
||||
do { (e).key = (k); (e).rel = (r); (e).page = (pg); \
|
||||
(e).offset = (o); (e).leafkey = (l); } while (0)
|
||||
|
||||
extern StrategyNumber GistTranslateStratnum(Oid opclass, CompareType cmp);
|
||||
extern StrategyNumber GistTranslateCompareType(Oid opclass, CompareType cmptype);
|
||||
|
||||
#endif /* GIST_H */
|
||||
|
||||
Reference in New Issue
Block a user