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

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

Commit: 7d6e6e2e9732adfb6a93711ca6a6e42ba039fbdb
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-03-04T19:54:06Z
Releases: 8.4.0
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