heap_update() must recheck tuple after unlocking and relocking buffer.
authorRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2011 12:24:18 +0000 (08:24 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 27 Sep 2011 12:24:18 +0000 (08:24 -0400)
commit624f155ffa93d1af4fb9d91fd5c0eb05da1e9e54
tree0cf6d5fe8e63fb54f1d972a343b9cb3b52f7004e
parent269c5dd2f46e3490da05d5dd5dad07828df281d9
heap_update() must recheck tuple after unlocking and relocking buffer.

Bug found by Alvaro Herrera, fix suggested by Heikki Linnakangas
and reviewed by Tom Lane.
src/backend/access/heap/heapam.c