Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34a8b64

Browse files
committed
Change recovery_init_sync_method to PGC_SIGHUP.
The setting has no effect except during startup. It's still nice to beable to change it dynamically, which is expected to be pretty useful toan admin following crash recovery when restarting the cluster is not soappealing.Per discussions following commits2941138 and61752af.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
1 parent79718c1 commit34a8b64

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9929,7 +9929,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
99299929
appear only in kernel logs.
99309930
</para>
99319931
<para>
9932-
This parameter can only be set at server start.
9932+
This parameter can only be set in the
9933+
<filename>postgresql.conf</filename> file or on the server command line.
99339934
</para>
99349935
</listitem>
99359936
</varlistentry>

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4946,7 +4946,7 @@ static struct config_enum ConfigureNamesEnum[] =
49464946
},
49474947

49484948
{
4949-
{"recovery_init_sync_method",PGC_POSTMASTER,ERROR_HANDLING_OPTIONS,
4949+
{"recovery_init_sync_method",PGC_SIGHUP,ERROR_HANDLING_OPTIONS,
49504950
gettext_noop("Sets the method for synchronizing the data directory before crash recovery."),
49514951
},
49524952
&recovery_init_sync_method,

‎src/backend/utils/misc/postgresql.conf.sample

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,6 @@
772772
# data?
773773
# (change requires restart)
774774
#recovery_init_sync_method = fsync# fsync, syncfs (Linux 5.8+)
775-
# (change requires restart)
776775

777776

778777
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp