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

Commit9d924db

Browse files
Adjust overstrong nbtree skip array assertion.
Make an nbtree array preprocessing assertion account for scans that addfewer skip arrays than initially expected due to preprocessing findingan unsatisfiable array qual.Oversight in commit92fe23d.Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Mark Dilger <mark.dilger@enterprisedb.com>Discussion:https://postgr.es/m/CAHgHdKtQMhHy5qcB3KqCcGiW-Rp8P7KzUFRa9ZMKUiv6zen7LQ@mail.gmail.com
1 parent92ee8a4 commit9d924db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtpreprocesskeys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ _bt_preprocess_array_keys(IndexScanDesc scan, int *new_numberOfKeys)
18561856
numArrayKeyData++;/* keep this scan key/array */
18571857
}
18581858

1859-
Assert(numSkipArrayKeys==0);
1859+
Assert(numSkipArrayKeys==0|| !so->qual_ok);
18601860

18611861
/* Set final number of equality-type array keys */
18621862
so->numArrayKeys=numArrayKeys;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp