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

Commitfaba108

Browse files
committed
Document the DEFERRABLE option in SET TRANSACTION command.
Kevin Grittner
1 parent97e3dac commitfaba108

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎doc/src/sgml/ref/set_transaction.sgml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,17 @@ SET SESSION CHARACTERISTICS AS TRANSACTION <replaceable class="parameter">transa
135135
among those listed. This is a high-level notion of read-only that
136136
does not prevent all writes to disk.
137137
</para>
138+
139+
<para>
140+
The <literal>DEFERRABLE</literal> transaction property has no effect
141+
unless the transaction is also <literal>SERIALIZABLE</literal> and
142+
<literal>READ ONLY</literal>. When all of these properties are set on a
143+
transaction, the transaction may block when first acquiring its snapshot,
144+
after which it is able to run without the normal overhead of a
145+
<literal>SERIALIZABLE</literal> transaction and without any risk of
146+
contributing to or being cancelled by a serialization failure. This mode
147+
is well suited for long-running reports or backups.
148+
</para>
138149
</refsect1>
139150

140151
<refsect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp