aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginbtree.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2023-09-08 17:12:12 +1200
committerThomas Munro <tmunro@postgresql.org>2023-09-08 17:12:12 +1200
commit9f0602539db4573b89c09abab666e85b653940bd (patch)
tree72a9620e3fabfbb03e82fb3c84753522e4787153 /src/backend/access/gin/ginbtree.c
parente722846daf4a37797ee39bc8ca3e78a4ef437f51 (diff)
downloadpostgresql-9f0602539db4573b89c09abab666e85b653940bd.tar.gz
postgresql-9f0602539db4573b89c09abab666e85b653940bd.zip
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
Diffstat (limited to 'src/backend/access/gin/ginbtree.c')
-rw-r--r--src/backend/access/gin/ginbtree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c
index 7d097c75e05..06e97a7fbb8 100644
--- a/src/backend/access/gin/ginbtree.c
+++ b/src/backend/access/gin/ginbtree.c
@@ -78,7 +78,7 @@ ginTraverseLock(Buffer buffer, bool searchMode)
*/
GinBtreeStack *
ginFindLeafPage(GinBtree btree, bool searchMode,
- bool rootConflictCheck, Snapshot snapshot)
+ bool rootConflictCheck)
{
GinBtreeStack *stack;