aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plperl/jsonb_plperl.c
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2020-07-20 16:03:38 -0700
committerPeter Geoghegan <pg@bowt.ie>2020-07-20 16:03:38 -0700
commit6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff (patch)
tree07c4d5a67fe43446af44061293a865a4770aff07 /contrib/jsonb_plperl/jsonb_plperl.c
parent0fa0b487b5d75d2b8576dec86a317212542642b8 (diff)
downloadpostgresql-6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff.tar.gz
postgresql-6ca7cd89a2d1998b16e8168dda62d43a9e0fdaff.zip
Assert that buffer is pinned in LockBuffer().
Strengthen the LockBuffer() assertion that verifies BufferIsValid() by making it verify BufferIsPinned() instead. Do the same in nearby related functions. There is probably not much chance that anybody will try to lock a buffer that is not already pinned, but we might as well make sure of that.
Diffstat (limited to 'contrib/jsonb_plperl/jsonb_plperl.c')
0 files changed, 0 insertions, 0 deletions