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

Commit28e858c

Browse files
committed
Improve documentation and GUC description for transaction_timeout
Reported-by: Alexander Lakhin
1 parenta661bf7 commit28e858c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9167,7 +9167,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
91679167
<listitem>
91689168
<para>
91699169
Terminate any session that spans longer than the specified amount of
9170-
time inthe transaction. The limit applies both to explicit transactions
9170+
time ina transaction. The limit applies both to explicit transactions
91719171
(started with <command>BEGIN</command>) and to an implicitly started
91729172
transaction corresponding to a single statement.
91739173
If this value is specified without units, it is taken as milliseconds.
@@ -9177,7 +9177,7 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
91779177
<para>
91789178
If <varname>transaction_timeout</varname> is shorter or equal to
91799179
<varname>idle_in_transaction_session_timeout</varname> or <varname>statement_timeout</varname>
9180-
<varname>transaction_timeout</varname> will invalidatethe longer timeout.
9180+
then the longer timeout is ignored.
91819181
</para>
91829182

91839183
<para>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ struct config_int ConfigureNamesInt[] =
25892589

25902590
{
25912591
{"transaction_timeout",PGC_USERSET,CLIENT_CONN_STATEMENT,
2592-
gettext_noop("Sets the maximum allowedtime in a transactionwith a session (not a prepared transaction)."),
2592+
gettext_noop("Sets the maximum allowedduration of any transactionwithin a session (not a prepared transaction)."),
25932593
gettext_noop("A value of 0 turns off the timeout."),
25942594
GUC_UNIT_MS
25952595
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp