mirror of https://github.com/postgres/postgres
Both dsa_get_total_size() and dsa_get_total_size_from_handle() take an exclusive lock just to read a variable. This commit reduces the lock level to LW_SHARED in those functions. Reviewed-by: Sami Imseih <samimseih@gmail.com> Discussion: https://postgr.es/m/aS8fMzWs9e8iHxk2%40nathanpull/255/head
parent
cbe04e5d72
commit
a6d05c8193
Loading…
Reference in new issue