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

Commitee1ae8b

Browse files
committed
Fix crash/valgrind error
Fix for commit9ef1851: We have to skip indexes where sortopfamilyis NULL. This takes the place of the previous btree check. Detectedby valgrind on the buildfarm.
1 parentb4f453f commitee1ae8b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/backend/utils/adt/selfuncs.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6329,6 +6329,10 @@ get_actual_variable_range(PlannerInfo *root, VariableStatData *vardata,
63296329
ScanDirectionindexscandir;
63306330
StrategyNumberstrategy;
63316331

6332+
/* Ignore non-ordering indexes */
6333+
if (index->sortopfamily==NULL)
6334+
continue;
6335+
63326336
/*
63336337
* Ignore partial indexes --- we only want stats that cover the entire
63346338
* relation.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp