postgresql/src/backend
Michael Paquier 47ac2033d4 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
2019-04-17 09:51:45 +09:00
..
access Simplify some ERROR paths clearing wait events and transient files 2019-04-17 09:51:45 +09:00
bootstrap tableam: relation creation, VACUUM FULL/CLUSTER, SET TABLESPACE. 2019-03-28 20:01:43 -07:00
catalog Show shared object statistics in pg_stat_database 2019-04-12 14:04:50 +02:00
commands Rework handling of invalid indexes with REINDEX CONCURRENTLY 2019-04-17 09:33:51 +09:00
executor Fix thinko in ExecCleanupTupleRouting(). 2019-04-15 19:01:09 +09:00
foreign
jit
lib Fix example in comment. 2019-04-09 08:33:42 +03:00
libpq Add support TCP user timeout in libpq and the backend server 2019-04-06 15:23:37 +09:00
main
nodes Use Append rather than MergeAppend for scanning ordered partitions. 2019-04-05 19:20:43 -04:00
optimizer Prevent inlining of multiply-referenced CTEs with outer recursive refs. 2019-04-09 15:47:35 -04:00
parser Fix backwards test in operator_precedence_warning logic. 2019-04-10 19:02:21 -04:00
partitioning Fix failure with textual partition hash keys. 2019-04-15 16:47:09 -04:00
po
port Consistently test for in-use shared memory. 2019-04-12 22:36:38 -07:00
postmaster Consistently test for in-use shared memory. 2019-04-12 22:36:38 -07:00
regex
replication Simplify some ERROR paths clearing wait events and transient files 2019-04-17 09:51:45 +09:00
rewrite Perform RLS subquery checks as the right user when going via a view. 2019-04-02 08:13:59 +01:00
snowball
statistics Fix pg_mcv_list deserialization 2019-04-16 00:01:39 +02:00
storage Simplify some ERROR paths clearing wait events and transient files 2019-04-17 09:51:45 +09:00
tcop Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds. 2019-04-09 08:25:39 -07:00
tsearch Fix more strcmp() calls using boolean-like comparisons for result checks 2019-04-12 10:16:49 +09:00
utils Unbreak index optimization for LIKE on bytea 2019-04-15 09:29:17 +02:00
.gitignore
common.mk
Makefile
nls.mk