summaryrefslogtreecommitdiff
path: root/src/interfaces/perl5/examples/example.newstyle
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-12-02 16:40:23 -0600
committerNathan Bossart <nathan@postgresql.org>2025-12-02 16:40:23 -0600
commita6d05c819380b0940fcfb428aa298f2d7e76e5c6 (patch)
tree9575fe206b4dd70a6ccf7feb07c54ccacd14200d /src/interfaces/perl5/examples/example.newstyle
parentcbe04e5d729f292bcf9b06f5d774884b4511b18a (diff)
Use LW_SHARED in dsa.c where possible.HEADorigin/masterorigin/HEADmaster
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%40nathan
Diffstat (limited to 'src/interfaces/perl5/examples/example.newstyle')
0 files changed, 0 insertions, 0 deletions