- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit4c3754f
committed
Fix a few bogus statement type names in plpgsql error messages.
plpgsql's error location context messages ("PL/pgSQL function fn-name lineline-no at stmt-type") would misreport a CONTINUE statement as being anEXIT, and misreport a MOVE statement as being a FETCH. These are clearbugs that have been there a long time, so back-patch to all supportedbranches.In addition, in 9.5 and HEAD, change the description of EXECUTE from"EXECUTE statement" to just plain EXECUTE; there seems no good reason whythis statement type should be described differently from others that havea well-defined head keyword. And distinguish GET STACKED DIAGNOSTICS fromplain GET DIAGNOSTICS. These are a bit more of a judgment call, and alsoaffect existing regression-test outputs, so I did not back-patch intostable branches.Pavel Stehule and Tom Lane1 parentf25087d commit4c3754f
File tree
4 files changed
+33
-32
lines changed- src
- pl/plpgsql/src
- test/regress/expected
4 files changed
+33
-32
lines changedLines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
| 238 | + | |
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
| |||
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 |
| - | |
| 252 | + | |
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
| 257 | + | |
257 | 258 |
| |
258 | 259 |
| |
259 | 260 |
| |
260 |
| - | |
| 261 | + | |
261 | 262 |
| |
262 | 263 |
| |
263 | 264 |
| |
|
Lines changed: 17 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
235 | 235 |
| |
236 | 236 |
| |
237 | 237 |
| |
238 |
| - | |
| 238 | + | |
239 | 239 |
| |
240 | 240 |
| |
241 |
| - | |
| 241 | + | |
242 | 242 |
| |
243 |
| - | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 |
| - | |
| 246 | + | |
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
| |||
256 | 256 |
| |
257 | 257 |
| |
258 | 258 |
| |
259 |
| - | |
| 259 | + | |
260 | 260 |
| |
261 | 261 |
| |
262 |
| - | |
| 262 | + | |
263 | 263 |
| |
264 |
| - | |
| 264 | + | |
265 | 265 |
| |
266 | 266 |
| |
267 |
| - | |
| 267 | + | |
268 | 268 |
| |
269 | 269 |
| |
270 |
| - | |
| 270 | + | |
271 | 271 |
| |
272 | 272 |
| |
273 |
| - | |
| 273 | + | |
274 | 274 |
| |
275 | 275 |
| |
276 | 276 |
| |
| |||
284 | 284 |
| |
285 | 285 |
| |
286 | 286 |
| |
287 |
| - | |
| 287 | + | |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
| 290 | + | |
291 | 291 |
| |
292 |
| - | |
| 292 | + | |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
| 295 | + | |
296 | 296 |
| |
297 | 297 |
| |
298 |
| - | |
| 298 | + | |
299 | 299 |
| |
300 | 300 |
| |
301 |
| - | |
| 301 | + | |
302 | 302 |
| |
303 | 303 |
| |
304 | 304 |
| |
| |||
330 | 330 |
| |
331 | 331 |
| |
332 | 332 |
| |
333 |
| - | |
| 333 | + | |
334 | 334 |
| |
335 | 335 |
| |
336 | 336 |
| |
|
Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3115 | 3115 |
| |
3116 | 3116 |
| |
3117 | 3117 |
| |
3118 |
| - | |
| 3118 | + | |
3119 | 3119 |
| |
3120 | 3120 |
| |
3121 | 3121 |
| |
| |||
3125 | 3125 |
| |
3126 | 3126 |
| |
3127 | 3127 |
| |
3128 |
| - | |
| 3128 | + | |
3129 | 3129 |
| |
3130 | 3130 |
| |
3131 | 3131 |
| |
| |||
3177 | 3177 |
| |
3178 | 3178 |
| |
3179 | 3179 |
| |
3180 |
| - | |
| 3180 | + | |
3181 | 3181 |
| |
3182 | 3182 |
| |
3183 | 3183 |
| |
| |||
3188 | 3188 |
| |
3189 | 3189 |
| |
3190 | 3190 |
| |
3191 |
| - | |
| 3191 | + | |
3192 | 3192 |
| |
3193 | 3193 |
| |
3194 | 3194 |
| |
| |||
3198 | 3198 |
| |
3199 | 3199 |
| |
3200 | 3200 |
| |
3201 |
| - | |
| 3201 | + | |
3202 | 3202 |
| |
3203 | 3203 |
| |
3204 | 3204 |
| |
| |||
4237 | 4237 |
| |
4238 | 4238 |
| |
4239 | 4239 |
| |
4240 |
| - | |
| 4240 | + | |
4241 | 4241 |
| |
4242 | 4242 |
| |
4243 | 4243 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1493 | 1493 |
| |
1494 | 1494 |
| |
1495 | 1495 |
| |
1496 |
| - | |
| 1496 | + | |
1497 | 1497 |
| |
1498 | 1498 |
| |
1499 | 1499 |
| |
| |||
1504 | 1504 |
| |
1505 | 1505 |
| |
1506 | 1506 |
| |
1507 |
| - | |
| 1507 | + | |
1508 | 1508 |
| |
1509 | 1509 |
| |
1510 | 1510 |
| |
1511 | 1511 |
| |
1512 |
| - | |
| 1512 | + | |
1513 | 1513 |
| |
1514 | 1514 |
| |
1515 | 1515 |
| |
| |||
1525 | 1525 |
| |
1526 | 1526 |
| |
1527 | 1527 |
| |
1528 |
| - | |
| 1528 | + | |
1529 | 1529 |
| |
1530 | 1530 |
| |
1531 | 1531 |
| |
1532 | 1532 |
| |
1533 |
| - | |
| 1533 | + | |
1534 | 1534 |
| |
1535 | 1535 |
| |
1536 | 1536 |
| |
|
0 commit comments
Comments
(0)