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

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

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