aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_utilcmd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-03-02 17:40:48 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-03-02 17:40:48 -0500
commit76ec45756644e5d46301ee292f8f951f9f835fae (patch)
tree06773ed376da9bb91223958dbcb7b308d6f82b00 /src/backend/parser/parse_utilcmd.c
parentccd650430db6168aaaae0b28702e11caf7781bf4 (diff)
downloadpostgresql-76ec45756644e5d46301ee292f8f951f9f835fae.tar.gz
postgresql-76ec45756644e5d46301ee292f8f951f9f835fae.zip
Fix VM buffer pin management in heap_lock_updated_tuple_rec().
Sloppy coding in this function could lead to leaking a VM buffer pin, or to attempting to free the same pin twice. Repair. While at it, reduce the code's tendency to free and reacquire the same page pin. Back-patch to 9.6; before that, this routine did not concern itself with VM pages. Amit Kapila and Tom Lane Discussion: https://postgr.es/m/CAA4eK1KJKwhc=isgTQHjM76CAdVswzNeAuZkh_cx-6QgGkSEgA@mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions