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

Commit38c0135

Browse files
committed
fix comment regarding collation
1 parentd7cabff commit38c0135

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

‎src/pg_pathman.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,16 +1133,17 @@ handle_binary_opexpr(WalkerContext *context, WrapperNode *result,
11331133
Oidcollid;
11341134

11351135
/*
1136-
*If operator collation is different from default attribute
1137-
*collation then we cannot guarantee that we return correct
1138-
*partitions. So inthis case we just return all of them
1136+
*We cannot guarantee that we'll return correct partitions set
1137+
*if operator collation is different from default attribute collation.
1138+
*Inthis case we just return all of them.
11391139
*/
1140-
if (expr->opcollid!=prel->attcollid&&strategy!=BTEqualStrategyNumber)
1140+
if (expr->opcollid!=prel->attcollid&&
1141+
strategy!=BTEqualStrategyNumber)
11411142
gotobinary_opexpr_return;
11421143

11431144
collid=OidIsValid(expr->opcollid) ?
1144-
expr->opcollid :
1145-
prel->attcollid;
1145+
expr->opcollid :
1146+
prel->attcollid;
11461147

11471148
fill_type_cmp_fmgr_info(&cmp_func,
11481149
getBaseType(c->consttype),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp