forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8f76324
committed
Report Python errors from iterators with PLy_elog
This improves reporting, as the error string now includes the actualPython exception. As a side effect, this no longer sets the errcode toERRCODE_DATA_EXCEPTION, which might be considered a feature, as it'snot documented and not clear why iterator errors should be treateddifferently.Jan Urbański1 parentcfcdc99 commit8f76324
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1157 | 1157 |
| |
1158 | 1158 |
| |
1159 | 1159 |
| |
1160 |
| - | |
1161 |
| - | |
1162 |
| - | |
| 1160 | + | |
1163 | 1161 |
| |
1164 | 1162 |
| |
1165 | 1163 |
| |
|
0 commit comments
Comments
(0)