diff options
| author | Daniel Gustafsson | 2025-12-16 08:46:53 +0000 |
|---|---|---|
| committer | Daniel Gustafsson | 2025-12-16 08:51:05 +0000 |
| commit | b30089fde1e9e945f96db9366f5ff5eb4abd3774 (patch) | |
| tree | 30625ef6a8d8181fad774f76c3df420f7276cf7d | |
| parent | 68ebdf2b07f6fb2d83f6e6440310fdb4b7377bb3 (diff) | |
doc: Update header file mention for CompareTypeREL_18_STABLE
Commit 119fc30 moved CompareType to cmptype.h but the mention in
the docs still refered to primnodes.h
Author: Daisuke Higuchi <higuchi.daisuke11@gmail.com>
Reviewed-by: Paul A Jungwirth <pj@illuminatedcomputing.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAEVT6c8guXe5P=L_Un5NUUzCgEgbHnNcP+Y3TV2WbQh-xjiwqA@mail.gmail.com
Backpatch-through: 18
| -rw-r--r-- | doc/src/sgml/gist.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/gist.sgml b/doc/src/sgml/gist.sgml index ee86e170055..423f691dd42 100644 --- a/doc/src/sgml/gist.sgml +++ b/doc/src/sgml/gist.sgml @@ -291,7 +291,7 @@ CREATE INDEX ON my_table USING GIST (my_inet_column inet_ops); speed up building a <acronym>GiST</acronym> index. The optional twelfth method <function>stratnum</function> is used to translate compare types (from - <filename>src/include/nodes/primnodes.h</filename>) into strategy numbers + <filename>src/include/access/cmptype.h</filename>) into strategy numbers used by the operator class. This lets the core code look up operators for temporal constraint indexes. </para> @@ -1174,7 +1174,7 @@ my_sortsupport(PG_FUNCTION_ARGS) <listitem> <para> Given a <literal>CompareType</literal> value from - <filename>src/include/nodes/primnodes.h</filename>, returns a strategy + <filename>src/include/access/cmptype.h</filename>, returns a strategy number used by this operator class for matching functionality. The function should return <literal>InvalidStrategy</literal> if the operator class has no matching strategy. |
