diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-04-17 09:51:45 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-04-17 09:51:45 +0900 |
commit | 47ac2033d460cefbbda2e39732e18de521dc6a36 (patch) | |
tree | 6105936878e0017f42fa515674f50dceae7dc57c /src/backend/utils/adt/pgstatfuncs.c | |
parent | a6dcf9df4d91ff0db23579f9114079abe6f3e2bf (diff) | |
download | postgresql-47ac2033d460cefbbda2e39732e18de521dc6a36.tar.gz postgresql-47ac2033d460cefbbda2e39732e18de521dc6a36.zip |
Simplify some ERROR paths clearing wait events and transient files
Transient files and wait events get normally cleaned up when seeing an
exception (be it in the context of a transaction for a backend or
another process like the checkpointer), hence there is little point in
complicating error code paths to do this work. This shaves a bit of
code, and removes some extra handling with errno which needed to be
preserved during the cleanup steps done.
Reported-by: Masahiko Sawada
Author: Michael Paquier
Reviewed-by: Tom Lane, Masahiko Sawada
Discussion: https://postgr.es/m/CAD21AoDhHYVq5KkXfkaHhmjA-zJYj-e4teiRAJefvXuKJz1tKQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/pgstatfuncs.c')
0 files changed, 0 insertions, 0 deletions