Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8252659

Browse files
Liudmila Mantrovavbwagner
Liudmila Mantrova
authored andcommitted
DOC: docs for PGPRO-854
1 parent 0af25f6 commit 8252659

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,15 +1125,21 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
11251125
</listitem>
11261126
</varlistentry>
11271127

1128-
<varlistentry id="libpq-connect-reusepass" xreflabel="reusepass">
1129-
<term><literal>reusepass</literal></term>
1130-
<listitem>
1131-
<para>
1132-
If we want to disallow to reconnect with prompted password.
1133-
For example on idle_session_timeout disconnect.
1134-
</para>
1135-
</listitem>
1136-
</varlistentry>
1128+
<varlistentry id="libpq-connect-reusepass" xreflabel="reusepass">
1129+
<term><literal>reusepass</literal></term>
1130+
<listitem>
1131+
<para>
1132+
Specifies whether reusing the prompted password is allowed when
1133+
reestablishing connections. To forbid password reuse, set
1134+
<literal>reusepass</literal> to <literal>no</literal>. You can use
1135+
this option together with <xref linkend="guc-idle-session-timeout">
1136+
to define the reconnection behavior for sessions terminated by timeout.
1137+
</para>
1138+
<para>
1139+
Default: <literal>yes</literal>
1140+
</para>
1141+
</listitem>
1142+
</varlistentry>
11371143

11381144
<varlistentry id="libpq-connect-connect-timeout" xreflabel="connect_timeout">
11391145
<term><literal>connect_timeout</literal></term>
@@ -7144,16 +7150,16 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
71447150
</para>
71457151
</listitem>
71467152

7147-
<listitem>
7148-
<para>
7149-
<indexterm>
7150-
<primary><envar>PGREUSEPASS</envar></primary>
7151-
</indexterm>
7152-
<envar>PGREUSEPASS</envar> behaves the same as the <xref
7153-
linkend="libpq-connect-reusepass"> connection parameter.
7154-
Use of this environment variable can stop reconnection.
7155-
</para>
7156-
</listitem>
7153+
<listitem>
7154+
<para>
7155+
<indexterm>
7156+
<primary><envar>PGREUSEPASS</envar></primary>
7157+
</indexterm>
7158+
<envar>PGREUSEPASS</envar> behaves the same as the <xref
7159+
linkend="libpq-connect-reusepass"> connection parameter.
7160+
Use of this environment variable can disable automatic reconnection.
7161+
</para>
7162+
</listitem>
71577163

71587164
<listitem>
71597165
<para>

0 commit comments

Comments
 (0)