Preserve SQLSTATE when an SPI error is propagated through PL/python

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: f21fc7f9fc63ff86d7d77d352ae274b6e2b6e09e
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-11-24T15:18:43Z
Releases: 9.2.0
Preserve SQLSTATE when an SPI error is propagated through PL/python
exception handler. This was a regression in 9.1, when the capability
to catch specific SPI errors was added, so backpatch to 9.1.

Mika Eloranta, with some editing by Jan Urbański.

Files