doc: Fix the header file where CompareType is defined in gist.sgml

Daisuke Higuchi <higuchi.daisuke11@gmail.com>

From: Daisuke Higuchi <higuchi.daisuke11@gmail.com>
To: pgsql-docs@lists.postgresql.org
Date: 2025-12-13T08:24:48Z
Lists: pgsql-docs

Attachments

Hi

I found that the header file where CompareType was actually defined did not
match the header file described in gist.sgml.
CompareType is currently defined at "src/include/access/cmptype.h" instead
of "src/include/nodes/primnodes.h".
This change was made in the commit below, but it seems that documentation
update was missed.

https://github.com/postgres/postgres/commit/119fc30dd5bd918819b864107ddc8baac51f4d22

Regards

Commits

  1. doc: Update header file mention for CompareType

  2. Move CompareType to separate header file