Skip to content

Commit 54ba4a6

Browse files
doc: Clarify passphrase command reloading on Windows
When running on Windows (or EXEC_BACKEND) the SSL configuration will be reloaded on each backend start, so the passphrase command will be reloaded along with it. This implies that passphrase command reload must be enabled on Windows for connections to work at all. Document this since it wasn't mentioned explicitly, and will there add markup for parameter value to match the rest of the docs. Backpatch to all supported versions. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/5F301096-921A-427D-8EC1-EBAEC2A35082@yesql.se Backpatch-through: 14
1 parent 89c8a1b commit 54ba4a6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/src/sgml/config.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1647,14 +1647,20 @@ include_dir 'conf.d'
16471647
This parameter determines whether the passphrase command set by
16481648
<varname>ssl_passphrase_command</varname> will also be called during a
16491649
configuration reload if a key file needs a passphrase. If this
1650-
parameter is off (the default), then
1650+
parameter is <literal>off</literal> (the default), then
16511651
<varname>ssl_passphrase_command</varname> will be ignored during a
16521652
reload and the SSL configuration will not be reloaded if a passphrase
16531653
is needed. That setting is appropriate for a command that requires a
16541654
TTY for prompting, which might not be available when the server is
16551655
running. Setting this parameter to on might be appropriate if the
16561656
passphrase is obtained from a file, for example.
16571657
</para>
1658+
<para>
1659+
This parameter must be set to <literal>on</literal> when running on
1660+
<systemitem class="osname">Windows</systemitem> since all connections
1661+
will perform a configuration reload due to the different process model
1662+
of that platform.
1663+
</para>
16581664
<para>
16591665
This parameter can only be set in the <filename>postgresql.conf</filename>
16601666
file or on the server command line.

0 commit comments

Comments
 (0)