Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07d1dc3

Browse files
committed
Fix incorrect IndexOptInfo header comment
The comment incorrectly indicated that indexcollations[] storedcollations for both key columns and INCLUDE columns, but in reality itonly 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.comBackpatch-through: 14
1 parent572c40b commit07d1dc3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/include/nodes/pathnodes.h‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,9 +1216,10 @@ typedef struct RelAggInfo
12161216
* IndexOptInfo
12171217
*Per-index information for planning/optimization
12181218
*
1219-
*indexkeys[], indexcollations[] each have ncolumns entries.
1220-
*opfamily[], and opcintype[]each have nkeycolumns entries. They do
1221-
*not contain any information about included attributes.
1219+
*indexkeys[] and canreturn[] each have ncolumns entries.
1220+
*
1221+
*indexcollations[], opfamily[], and opcintype[] each have nkeycolumns
1222+
*entries. These don't contain any information about INCLUDE columns.
12221223
*
12231224
*sortopfamily[], reverse_sort[], and nulls_first[] have
12241225
*nkeycolumns entries, if the index is ordered; but if it is unordered,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp