postgresql/src/backend/utils
Robert Haas 7dbfea3c45 Partially deduplicate interrupt handling for background processes.
Where possible, share signal handler code and main loop interrupt
checking. This saves quite a bit of code and should simplify
maintenance, too.

This commit intends not to change the way anything works, even
though that might allow more code to be unified. It does unify
a bunch of individual variables into a ShutdownRequestPending
flag that has is now used by a bunch of different process types,
though.

Patch by me, reviewed by Andres Freund and Daniel Gustafsson.

Discussion: http://postgr.es/m/CA+TgmoZwDk=BguVDVa+qdA6SBKef=PKbaKDQALTC_9qoz1mJqg@mail.gmail.com
2019-12-17 13:14:28 -05:00
..
adt Fix EXTRACT(ISOYEAR FROM timestamp) for years BC. 2019-12-12 12:30:43 -05:00
cache Fix misbehavior with expression indexes on ON COMMIT DELETE ROWS tables. 2019-12-01 13:09:26 -05:00
error Remove debugging aid 2019-11-23 13:19:20 -03:00
fmgr Remove configure --disable-float4-byval 2019-11-21 18:29:21 +01:00
hash Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
init Partially deduplicate interrupt handling for background processes. 2019-12-17 13:14:28 -05:00
mb Add backend-only appendStringInfoStringQuoted 2019-12-10 17:12:56 -03:00
misc Emit parameter values during query bind/execute errors 2019-12-11 18:03:35 -03:00
mmgr Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
resowner Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
sort Remove unused code from tuplesort. 2019-11-13 15:57:01 -08:00
time Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Implement jsonpath .datetime() method 2019-09-25 22:51:51 +03:00
Gen_dummy_probes.pl Fix many typos and inconsistencies 2019-07-01 10:00:23 +09:00
Gen_dummy_probes.sed Update copyright for 2019 2019-01-02 12:44:25 -05:00
Gen_fmgrtab.pl Fix more typos and inconsistencies in the tree 2019-06-17 16:13:16 +09:00
generate-errcodes.pl Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Use Getopt::Long for catalog scripts 2019-02-12 12:22:08 -03:00
probes.d Sync our DTrace infrastructure with c.h's definition of type bool. 2019-11-06 11:11:40 -05:00