pgsql: Fix incorrect IndexOptInfo header comment

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect IndexOptInfo header comment
Date: 2025-11-24 04:01:47
Message-ID: E1vNNlr-00166T-1E@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix incorrect IndexOptInfo header comment

The comment incorrectly indicated that indexcollations[] stored
collations for both key columns and INCLUDE columns, but in reality it
only has elements for the key columns. canreturn[] didn't get a mention,
so add that while we're here.

Author: Junwang Zhao <zhjwpku(at)gmail(dot)com>
Reviewed-by: David Rowley <dgrowleyml(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAEG8a3LwbZgMKOQ9CmZarX5DEipKivdHp5PZMOO-riL0w%3DL%3D4A%40mail.gmail.com
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/14cdab029287b510fb6872370358feab470bef1f

Modified Files
--------------
src/include/nodes/pathnodes.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-11-24 04:02:17 pgsql: Fix incorrect IndexOptInfo header comment
Previous Message David Rowley 2025-11-24 04:01:27 pgsql: Fix incorrect IndexOptInfo header comment