Change recovery_init_sync_method to PGC_SIGHUP.
authorThomas Munro <tmunro@postgresql.org>
Mon, 28 Jun 2021 03:17:43 +0000 (15:17 +1200)
committerThomas Munro <tmunro@postgresql.org>
Mon, 28 Jun 2021 03:30:39 +0000 (15:30 +1200)
commit34a8b64b4e5f0cd818e5cc7f98846de57938ea57
tree6ad528ed13c8d9c607d857325380c9dafff447d9
parent79718c1c6c007c27e9c1b8e92bd96d17067606fa
Change recovery_init_sync_method to PGC_SIGHUP.

The setting has no effect except during startup.  It's still nice to be
able to change it dynamically, which is expected to be pretty useful to
an admin following crash recovery when restarting the cluster is not so
appealing.

Per discussions following commits 2941138e6 and 61752afb2.

Author: Justin Pryzby <pryzby@telsasoft.com>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20210529192321.GM2082%40telsasoft.com
doc/src/sgml/config.sgml
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample