summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-11-01 22:51:05 +0900
committerMichael Paquier <michael@paquier.xyz>2019-11-01 22:51:05 +0900
commite174f699c476a4cc01875211a5f43e57c3190a37 (patch)
treec02e873c07d7d101ba88fd01676ae437503936fa /src/backend/access/gist/gistutil.c
parent20345197ff48c99a8a20dd3cd191d2aad5c7271c (diff)
downloadpostgresql-e174f699c476a4cc01875211a5f43e57c3190a37.tar.gz
Add some assertions in syncrep.c
A couple of routines assume that the LWLock SyncRepLock needs to be taken, so add a couple of assertions to be sure of that. Also, when waiting for a given LSN at transaction commit, the code implied that the syncrep queue cleanup happens while holding interrupts, but the code never checked after that. Author: Michael Paquier Reviewed-by: Fujii Masao, Kyotaro Horiguchi, Dongming Liu Discussion: https://postgr.es/m/a0806273-8bbb-43b3-bbe1-c45a58f6ae21.lingce.ldm@alibaba-inc.com
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions