aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-28 09:40:20 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-01-28 09:46:23 +0200
commit316186f2893d37ecd8e32392ee7c910cca9b93eb (patch)
treedcaf8ad59959e54e4049d517eba1d09c51db9fda /src/backend/access/transam/xlog.c
parent96bb29dc444f2b7fc8fbddae4fd7fe25d6544665 (diff)
downloadpostgresql-316186f2893d37ecd8e32392ee7c910cca9b93eb.tar.gz
postgresql-316186f2893d37ecd8e32392ee7c910cca9b93eb.zip
Handle SPIErrors raised directly in PL/Python code.
If a PL/Python function raises an SPIError (or one if its subclasses) directly with python's raise statement, treat it the same as an SPIError generated internally. In particular, if the user sets the sqlstate attribute, preserve that. Oskari Saarenmaa and Jan UrbaƄski, reviewed by Karl O. Pinc.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions