forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite3db3f8
committed
Clean up properly error_context_stack in autovacuum worker on exception
Any callback set would have no meaning in the context of an exception.As an autovacuum worker exits quickly in this context, this could beonly an issue within EmitErrorReport(), where the elog hook is forexample called. That's unlikely to going to be a problem, but let's beclean and consistent with other code paths handling exceptions. This ispresent since2909419, which introduced autovacuum.Author: Ashwin AgrawalReviewed-by: Tom Lane, Michael PaquierDiscussion:https://postgr.es/m/CALfoeisM+_+dgmAdAOHAu0k-ZpEHHqSSG=GRf3pKJGm8OqWX0w@mail.gmail.comBackpatch-through: 9.41 parentad4b7ae commite3db3f8
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1558 | 1558 |
| |
1559 | 1559 |
| |
1560 | 1560 |
| |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
1561 | 1564 |
| |
1562 | 1565 |
| |
1563 | 1566 |
| |
|
0 commit comments
Comments
(0)