mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
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
This commit is contained in:
@@ -291,7 +291,7 @@ CREATE INDEX ON my_table USING GIST (my_inet_column inet_ops);
|
|||||||
speed up building a <acronym>GiST</acronym> index.
|
speed up building a <acronym>GiST</acronym> index.
|
||||||
The optional twelfth method <function>stratnum</function> is used to
|
The optional twelfth method <function>stratnum</function> is used to
|
||||||
translate compare types (from
|
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
|
used by the operator class. This lets the core code look up operators for
|
||||||
temporal constraint indexes.
|
temporal constraint indexes.
|
||||||
</para>
|
</para>
|
||||||
@@ -1174,7 +1174,7 @@ my_sortsupport(PG_FUNCTION_ARGS)
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Given a <literal>CompareType</literal> value from
|
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
|
number used by this operator class for matching functionality. The
|
||||||
function should return <literal>InvalidStrategy</literal> if the
|
function should return <literal>InvalidStrategy</literal> if the
|
||||||
operator class has no matching strategy.
|
operator class has no matching strategy.
|
||||||
|
|||||||
Reference in New Issue
Block a user