mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -2694,7 +2694,7 @@ bt_rootdescend(BtreeCheckState *state, IndexTuple itup)
|
||||
*/
|
||||
Assert(state->readonly && state->rootdescend);
|
||||
exists = false;
|
||||
stack = _bt_search(state->rel, NULL, key, &lbuf, BT_READ, NULL);
|
||||
stack = _bt_search(state->rel, NULL, key, &lbuf, BT_READ);
|
||||
|
||||
if (BufferIsValid(lbuf))
|
||||
{
|
||||
|
Reference in New Issue
Block a user