Bill pointed out an error in my analysis in reply to a message I meant to send to the list.
It looks like the failure of the PREPARE statement is not being caught and hence the PostgreSQL prepared statement is assumed to exist when it does not. Best Wishes, Chris Travers
