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:00:40
Message-ID: E1vNNkl-00163F-1u@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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07d1dc3aebe4391a2711e951c69df2bb56447f8a

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:01:06 pgsql: Fix incorrect IndexOptInfo header comment
Previous Message Tom Lane 2025-11-23 20:03:05 pgsql: Issue a NOTICE if a created function depends on any temp objects