postgresql/src/backend/postmaster
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS
Use it at level 4, a bit more restrictive than the default level, and
tweak our commanding comments to FALLTHROUGH.

(However, leave zic.c alone, since it's external code; to avoid the
warnings that would appear there, change CFLAGS for that file in the
Makefile.)

Author: Julien Rouhaud <rjuju123@gmail.com>
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20200412081825.qyo5vwwco3fv4gdo@nol
Discussion: https://postgr.es/m/flat/E1fDenm-0000C8-IJ@gemulon.postgresql.org
2020-05-12 16:07:30 -04:00
..
Makefile Partially deduplicate interrupt handling for background processes. 2019-12-17 13:14:28 -05:00
autovacuum.c Trigger autovacuum based on number of INSERTs 2020-03-28 19:20:12 +13:00
bgworker.c Fix collection of typos and grammar mistakes in the tree 2020-04-10 11:18:39 +09:00
bgwriter.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
checkpointer.c Fix checkpoint signalling 2020-04-29 18:46:42 -04:00
fork_process.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
interrupt.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pgarch.c Unify several ways to tracking backend type 2020-03-13 14:01:10 +01:00
pgstat.c Remove superfluous memset from pgstat_recv_resetslrucounter 2020-05-02 15:30:10 +02:00
postmaster.c Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 2020-05-12 16:07:30 -04:00
startup.c Allow walreceiver configuration to change on reload 2020-03-27 19:51:37 -03:00
syslogger.c Remove am_syslogger global variable 2020-03-13 14:01:15 +01:00
walwriter.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00