diff options
author | Fujii Masao <fujii@postgresql.org> | 2024-09-12 21:45:42 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2024-09-12 21:45:42 +0900 |
commit | 412229d197f894a01c163b9e9fdfec1a1855f7ab (patch) | |
tree | 076fe66d6b93aaf9ed8ce5c66a9b3342054abd2f /src/backend/utils/adt/network_gist.c | |
parent | 23d0b48468b8971b35d713754f7d5ecf54e5f78f (diff) | |
download | postgresql-412229d197f894a01c163b9e9fdfec1a1855f7ab.tar.gz postgresql-412229d197f894a01c163b9e9fdfec1a1855f7ab.zip |
Deduplicate code in LargeObjectExists and myLargeObjectExists.
myLargeObjectExists() and LargeObjectExists() had nearly identical code,
except for handling snapshots. This commit renames myLargeObjectExists()
to LargeObjectExistsWithSnapshot() and refactors LargeObjectExists()
to call it internally, reducing duplication.
Author: Yugo Nagata
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/20240702163444.ab586f6075e502eb84f11b1a@sranhm.sraoss.co.jp
Diffstat (limited to 'src/backend/utils/adt/network_gist.c')
0 files changed, 0 insertions, 0 deletions