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

Commit c00055e

Browse files
committed
Document that syncronhous commit can be turned off in a single
multi-statement transaction.
1 parent 049f6b9 commit c00055e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/config.sgml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.152 2007/11/01 17:06:30 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.153 2007/11/05 17:35:38 momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1318,7 +1318,9 @@ SET ENABLE_SEQSCAN TO OFF;
13181318
In many situations, turning off <xref linkend="guc-synchronous-commit">
13191319
for noncritical transactions can provide much of the potential
13201320
performance benefit of turning off <varname>fsync</varname>, without
1321-
the attendant risks of data corruption.
1321+
the attendant risks of data corruption. It can even be turned
1322+
off in a single multi-statement transaction using <command>SET
1323+
LOCAL synchronous_commit TO OFF;</>.
13221324
</para>
13231325

13241326
<para>

0 commit comments

Comments
 (0)