postgres.git / summary / log / commit / refs

commit    b30089fde1e9e945f96db9366f5ff5eb4abd3774
Author:   Daniel Gustafsson <dgustafsson@postgresql.org>
Date:     Tue Dec 16 08:46:53 2025 +0000
First released in: 18.2

    doc: Update header file mention for CompareType
    
    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


doc/src/sgml/gist.sgml | 4 ++-- 1 file 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. [parent: 68ebdf2b07f6]