From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Rename GistTranslateStratnum() to GistTranslateCompareType() |
Date: | 2025-02-01 09:34:54 |
Message-ID: | E1te9tu-004mzP-5t@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(dot)dilger(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330(at)enterprisedb(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a5709b5bb293a554913c4b1f6a9c58d1915ba3f7
Modified Files
--------------
src/backend/access/gist/gistutil.c | 2 +-
src/backend/commands/indexcmds.c | 2 +-
src/backend/commands/tablecmds.c | 4 ++--
src/backend/executor/execReplication.c | 2 +-
src/include/access/gist.h | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2025-02-01 09:56:26 | pgsql: Add get_opfamily_name() function |
Previous Message | Peter Eisentraut | 2025-02-01 09:10:56 | pgsql: Add script to keep .editorconfig in sync with .gitattributes |