Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> I would like a mechanism in the server to prevent a session from
> accepting anything other than COMMIT or ROLLBACK PREPARED after a
> PREPARE. Otherwise it's possible to screw up your prepared xact and
> leave it hanging there.
Uh, what? That makes no sense at all.
regards, tom lane