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

Commiteff6a75

Browse files
Remove overzealous array element type assertion.
This led to spurious assertion failures in certain scenarios involvingpseudo types.Oversight in commit5bf748b, which enhanced nbtree ScalarArrayOpexecution.Reported-By: Richard Guo <guofenglinux@gmail.com>Discussion:https://postgr.es/m/CAMbWs48f5rDOwxaT76Zd40m7n9iGZQcjEk7vG_5p3YWNh6oPfA@mail.gmail.com
1 parent8c239ee commiteff6a75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ _bt_preprocess_array_keys(IndexScanDesc scan)
392392
elemtype=cur->sk_subtype;
393393
if (elemtype==InvalidOid)
394394
elemtype=rel->rd_opcintype[cur->sk_attno-1];
395-
Assert(elemtype==ARR_ELEMTYPE(arrayval));
396395

397396
/*
398397
* If the comparison operator is not equality, then the array qual

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp