OSDN Git Service

Don't assume rd_smgr stays open across all of a rewriteheap operation;
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Apr 2007 20:49:39 +0000 (20:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Apr 2007 20:49:39 +0000 (20:49 +0000)
commit4942ee656ac6fdb765cd0db0086b32ab1eda8b0e
tree7a7afc40519945d432adbc97175ca63a0de278e6
parent6c2c6682f69fb449fb80dc4e26fc29af1a9e61e6
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.
src/backend/access/heap/rewriteheap.c