diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-03-07 22:53:32 +0200 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-03-07 23:47:43 +0200 |
commit | 8f76324352986287c04832f8e6450d4d2952a030 (patch) | |
tree | bba9b884871eec42c83fdd1dac1e0383c7e65b48 /src/tutorial/complex.c | |
parent | cfcdc99db67172d46a5e226375fa97e5c5a62267 (diff) |
Report Python errors from iterators with PLy_elog
This improves reporting, as the error string now includes the actual
Python exception. As a side effect, this no longer sets the errcode to
ERRCODE_DATA_EXCEPTION, which might be considered a feature, as it's
not documented and not clear why iterator errors should be treated
differently.
Jan UrbaĆski
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions