diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-03-04 17:48:01 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-03-04 17:48:01 +0100 |
commit | a0b808baef39e9f9465b7f63f2d735f35852aa21 (patch) | |
tree | 6f2883ee52c5e38b37a42122546c861fee8c7585 /src/backend/backup/basebackup_incremental.c | |
parent | f9baaf96d3395c3afc2c558fb74279c4923ddb24 (diff) | |
download | postgresql-a0b808baef39e9f9465b7f63f2d735f35852aa21.tar.gz postgresql-a0b808baef39e9f9465b7f63f2d735f35852aa21.zip |
Rework locking code in GetMultiXactIdMembers
After commit 53c2a97a9266, the code flow around the "retry" goto label
in GetMultiXactIdMembers was confused about what was possible: we never
return there with a held lock, so there's no point in testing for one.
This realization lets us simplify the code a bit. While at it, make the
scope of a couple of local variables in the same function a bit tighter.
Per Coverity.
Diffstat (limited to 'src/backend/backup/basebackup_incremental.c')
0 files changed, 0 insertions, 0 deletions