git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6339f64) | patch
Change gist stratnum function to use CompareType
2025年1月15日 10:28:39 +0000 (11:28 +0100)
2025年1月15日 10:34:04 +0000 (11:34 +0100)
commit 630f9a43cece93cb4a5c243b30e34abce6a89514
Change gist stratnum function to use CompareType

This changes commit 7406ab623fe in that the gist strategy number
mapping support function is changed to use the CompareType enum as
input, instead of the "well-known" RT*StrategyNumber strategy numbers.

This is a bit cleaner, since you are not dealing with two sets of
strategy numbers. Also, this will enable us to subsume this system
into a more general system of using CompareType to define operator
semantics across index methods.

Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
19 files changed:
contrib/btree_gist/btree_gist--1.7--1.8.sql diff | blob | blame | history
contrib/btree_gist/btree_gist.c diff | blob | blame | history
contrib/btree_gist/expected/stratnum.out diff | blob | blame | history
contrib/btree_gist/sql/stratnum.sql diff | blob | blame | history
doc/src/sgml/gist.sgml diff | blob | blame | history
doc/src/sgml/xindex.sgml diff | blob | blame | history
src/backend/access/gist/gistutil.c diff | blob | blame | history
src/backend/access/gist/gistvalidate.c diff | blob | blame | history
src/backend/catalog/pg_constraint.c diff | blob | blame | history
src/backend/commands/indexcmds.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/executor/execReplication.c diff | blob | blame | history
src/include/access/gist.h diff | blob | blame | history
src/include/catalog/pg_amproc.dat diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/include/commands/defrem.h diff | blob | blame | history
src/include/nodes/primnodes.h diff | blob | blame | history
src/test/regress/expected/misc_functions.out diff | blob | blame | history
src/test/regress/sql/misc_functions.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /