forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb6da09f
committed
Defend against bad trigger definitions in contrib/lo's lo_manage() trigger.
This function formerly crashed if called as a statement-level trigger,or if a column-name argument wasn't given.In passing, add the trigger name to all error messages from the function.(None of them are expected cases, so this shouldn't pose any compatibilityrisk.)Marc Cousin, reviewed by Sawada Masahiko1 parent96ac8b5 commitb6da09f
1 file changed
+12
-2
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 |
| |
45 | 50 |
| |
46 | 51 |
| |
| |||
50 | 55 |
| |
51 | 56 |
| |
52 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 |
| |
54 | 63 |
| |
55 | 64 |
| |
| |||
63 | 72 |
| |
64 | 73 |
| |
65 | 74 |
| |
66 |
| - | |
| 75 | + | |
| 76 | + | |
67 | 77 |
| |
68 | 78 |
| |
69 | 79 |
| |
|
0 commit comments
Comments
(0)