Skip to content

Commit 24d08e8

Browse files
committed
fix segfault in pg15
due to 9dc718bdf2b1a574481a45624d42b674332e2903 "Pass down "logically unchanged index" hint." there were access to uninitialized estate->es_range_table. But since we really doesn't do update but always insert, passing "update" hint as "true" were mistake (I think).
1 parent 4ba0917 commit 24d08e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vops.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ UserTableUpdateOpenIndexes()
11721172
#endif
11731173
estate,
11741174
#if PG_VERSION_NUM>=140000
1175-
true,
1175+
false,
11761176
#endif
11771177
false, NULL, NIL);
11781178
if (recheckIndexes != NIL)

0 commit comments

Comments
 (0)