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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b725b7e) | patch
Add stratnum GiST support function
2024年1月19日 14:41:44 +0000 (15:41 +0100)
2024年1月19日 14:42:13 +0000 (15:42 +0100)
commit 6db4598fcb82a87a683c4572707e522504830a2b
Add stratnum GiST support function

This is support function 12 for the GiST AM and translates
"well-known" RT*StrategyNumber values into whatever strategy number is
used by the opclass (since no particular numbers are actually
required). We will use this to support temporal PRIMARY
KEY/UNIQUE/FOREIGN KEY/FOR PORTION OF functionality.

This commit adds two implementations, one for internal GiST opclasses
(just an identity function) and another for btree_gist opclasses. It
updates btree_gist from 1.7 to 1.8, adding the support function for
all its opclasses.

Author: Paul A. Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: jian he <jian.universality@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CA+renyUApHgSZF9-nd-a0+OPGharLQLO=mDHcY4_qQ0+noCUVg@mail.gmail.com
17 files changed:
contrib/btree_gist/Makefile diff | blob | blame | history
contrib/btree_gist/btree_gist--1.7--1.8.sql [new file with mode: 0644] blob
contrib/btree_gist/btree_gist.c diff | blob | blame | history
contrib/btree_gist/btree_gist.control diff | blob | blame | history
contrib/btree_gist/expected/stratnum.out [new file with mode: 0644] blob
contrib/btree_gist/meson.build diff | blob | blame | history
contrib/btree_gist/sql/stratnum.sql [new file with mode: 0644] blob
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/include/access/gist.h diff | blob | blame | history
src/include/catalog/catversion.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/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 によって変換されたページ (->オリジナル) /