diff options
author | Thomas Munro <tmunro@postgresql.org> | 2023-09-08 17:12:12 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2023-09-08 17:12:12 +1200 |
commit | 9f0602539db4573b89c09abab666e85b653940bd (patch) | |
tree | 72a9620e3fabfbb03e82fb3c84753522e4787153 /src/backend/access/common/toast_internals.c | |
parent | e722846daf4a37797ee39bc8ca3e78a4ef437f51 (diff) |
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/common/toast_internals.c')
-rw-r--r-- | src/backend/access/common/toast_internals.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/common/toast_internals.c b/src/backend/access/common/toast_internals.c index 588825ed85d..371515395a5 100644 --- a/src/backend/access/common/toast_internals.c +++ b/src/backend/access/common/toast_internals.c @@ -636,8 +636,7 @@ toast_close_indexes(Relation *toastidxs, int num_indexes, LOCKMODE lock) * * Initialize an appropriate TOAST snapshot. We must use an MVCC snapshot * to initialize the TOAST snapshot; since we don't know which one to use, - * just use the oldest one. This is safe: at worst, we will get a "snapshot - * too old" error that might have been avoided otherwise. + * just use the oldest one. */ void init_toast_snapshot(Snapshot toast_snapshot) |