]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect IndexOptInfo header comment
authorDavid Rowley <drowley@postgresql.org>
Mon, 24 Nov 2025 04:02:24 +0000 (17:02 +1300)
committerDavid Rowley <drowley@postgresql.org>
Mon, 24 Nov 2025 04:02:24 +0000 (17:02 +1300)
commitea36c2f6a9819bfee778d08f6b5877a356a2d195
tree8c9218e54aa51ad14803493b370343e2ce8e6d98
parent035a1f5aca4e68e05c50c630e8a5869b3d94c272
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@gmail.com>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/CAEG8a3LwbZgMKOQ9CmZarX5DEipKivdHp5PZMOO-riL0w%3DL%3D4A%40mail.gmail.com
Backpatch-through: 14
src/include/nodes/pathnodes.h