Fix PREPARE TRANSACTION to reject the case where the transaction has dropped a

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

Commit: f3032cbe377ecc570989e1bd2fe1aea455c12cc3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-03-04T19:54:13Z
Releases: 8.3.1
Fix PREPARE TRANSACTION to reject the case where the transaction has dropped a
temporary table; we can't support that because there's no way to clean up the
source backend's internal state if the eventual COMMIT PREPARED is done by
another backend.  This was checked correctly in 8.1 but I broke it in 8.2 :-(.
Patch by Heikki Linnakangas, original trouble report by John Smith.

Files