aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-10-23 10:25:50 +0900
committerMichael Paquier <michael@paquier.xyz>2019-10-23 10:25:50 +0900
commit669feabfb76213046c8bffcfa9630376e770d4de (patch)
treeab1845490ad1cd99d997df16f26a2b54edc53b73 /src/backend/utils/adt/xml.c
parenta05a04d0edb45f5c9b014eada9619141314c815f (diff)
downloadpostgresql-669feabfb76213046c8bffcfa9630376e770d4de.tar.gz
postgresql-669feabfb76213046c8bffcfa9630376e770d4de.zip
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 be only an issue within EmitErrorReport(), where the elog hook is for example called. That's unlikely to going to be a problem, but let's be clean and consistent with other code paths handling exceptions. This is present since 2909419, which introduced autovacuum. Author: Ashwin Agrawal Reviewed-by: Tom Lane, Michael Paquier Discussion: https://postgr.es/m/CALfoeisM+_+dgmAdAOHAu0k-ZpEHHqSSG=GRf3pKJGm8OqWX0w@mail.gmail.com Backpatch-through: 9.4
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions