- Notifications
You must be signed in to change notification settings - Fork5
Commit7320681
committed
Change SQLSTATE for event triggers "wrong context" message
When certain event-trigger-only functions are called when not in thewrong context, they were reporting the "feature not supported" SQLSTATE,which is somewhat misleading. Create a new custom error code for suchuses instead.Not backpatched since it may be seen as an undesirable behavioralchange.Author: Michael PaquierDiscussion:https://www.postgresql.org/message-id/CAB7nPqQ-5NAkHQHh_NOm7FPep37NCiLKwPoJ2Yxb8TDoGgbYYA@mail.gmail.com1 parent5df64f2 commit7320681
2 files changed
+4
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1416 | 1416 |
| |
1417 | 1417 |
| |
1418 | 1418 |
| |
1419 |
| - | |
| 1419 | + | |
1420 | 1420 |
| |
1421 | 1421 |
| |
1422 | 1422 |
| |
| |||
1536 | 1536 |
| |
1537 | 1537 |
| |
1538 | 1538 |
| |
1539 |
| - | |
| 1539 | + | |
1540 | 1540 |
| |
1541 | 1541 |
| |
1542 | 1542 |
| |
| |||
1557 | 1557 |
| |
1558 | 1558 |
| |
1559 | 1559 |
| |
1560 |
| - | |
| 1560 | + | |
1561 | 1561 |
| |
1562 | 1562 |
| |
1563 | 1563 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
| 281 | + | |
281 | 282 |
| |
282 | 283 |
| |
283 | 284 |
| |
|
0 commit comments
Comments
(0)