Don't assume rd_smgr stays open across all of a rewriteheap operation;
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/rewriteheap.c | modified | +3 −2 |