mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Remove some more "snapshot too old" vestiges.
Commit f691f5b8
removed the logic, but left behind some now-useless
Snapshot arguments to various AM-internal functions, and missed a couple
of comments.
Reported-by: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/CAH2-Wznj9qSNXZ1P1uWTUD_FeaTezbUazb416EPwi4Qr_jR_6A%40mail.gmail.com
This commit is contained in:
@@ -192,7 +192,7 @@ ginEntryInsert(GinState *ginstate,
|
||||
ginPrepareEntryScan(&btree, attnum, key, category, ginstate);
|
||||
btree.isBuild = (buildStats != NULL);
|
||||
|
||||
stack = ginFindLeafPage(&btree, false, false, NULL);
|
||||
stack = ginFindLeafPage(&btree, false, false);
|
||||
page = BufferGetPage(stack->buffer);
|
||||
|
||||
if (btree.findItem(&btree, stack))
|
||||
|
Reference in New Issue
Block a user