Fix incorrect IndexOptInfo header comment
authorDavid Rowley <[email protected]>
Mon, 24 Nov 2025 04:01:13 +0000 (17:01 +1300)
committerDavid Rowley <[email protected]>
Mon, 24 Nov 2025 04:01:13 +0000 (17:01 +1300)
commit232e0f5de41b904daa111dbd274c2cb2028991a4
tree21711e4296aae5e3463179d06f69eaa54fef6733
parent60215eae7c4285e526fdf607074a28140552d3c5
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 <[email protected]>
Reviewed-by: David Rowley <[email protected]>
Discussion: https://postgr.es/m/CAEG8a3LwbZgMKOQ9CmZarX5DEipKivdHp5PZMOO-riL0w%3DL%3D4A%40mail.gmail.com
Backpatch-through: 14
src/include/nodes/pathnodes.h