Don't assume rd_smgr stays open across all of a rewriteheap operation;

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4942ee656ac6fdb765cd0db0086b32ab1eda8b0e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-04-17T20:49:39Z
Releases: 8.3.0
Don't assume rd_smgr stays open across all of a rewriteheap operation;
doing so can result in crash if an sinval reset occurs meanwhile.
I believe this explains intermittent buildfarm failures in cluster test.

Files

PathChange+/−
src/backend/access/heap/rewriteheap.c modified +3 −2