forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit26b8361
committed
Tidy up error reporting when converting PL/Python arrays.
Use PLy_elog() only when a call to a Python C API function failed, andereport() for other errors. Add an error code to the "wrong length ofinner sequence" ereport().Reviewed-by: Daniel GustafssonDiscussion:https://www.postgresql.org/message-id/B8B72889-D6D7-48FF-B782-D670A6CA4D37%40yesql.se1 parent8550cbd commit26b8361
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1173 | 1173 | | |
1174 | 1174 | | |
1175 | 1175 | | |
1176 | | - | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
1177 | 1180 | | |
1178 | 1181 | | |
1179 | 1182 | | |
1180 | 1183 | | |
1181 | 1184 | | |
1182 | 1185 | | |
1183 | | - | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
1184 | 1189 | | |
1185 | 1190 | | |
1186 | 1191 | | |
1187 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1188 | 1195 | | |
1189 | 1196 | | |
1190 | 1197 | | |
| |||
1210 | 1217 | | |
1211 | 1218 | | |
1212 | 1219 | | |
1213 | | - | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
1214 | 1223 | | |
1215 | 1224 | | |
1216 | 1225 | | |
| |||
1256 | 1265 | | |
1257 | 1266 | | |
1258 | 1267 | | |
1259 | | - | |
| 1268 | + | |
| 1269 | + | |
1260 | 1270 | | |
1261 | 1271 | | |
1262 | 1272 | | |
| |||
0 commit comments
Comments
(0)