Fix incorrect ordering of smgr cleanup relative to buffer pin cleanup

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

Commit: 23645f058231203d29f92162640a087003794137
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-06T17:56:33Z
Releases: 8.0.0
Fix incorrect ordering of smgr cleanup relative to buffer pin cleanup
during transaction abort.  Add a regression test case to catch related
mistakes in future.  Alvaro Herrera and Tom Lane.

Files