From c00055ea809fbc805fffcd372f3a6f12f46f6790 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Mon, 5 Nov 2007 17:35:38 +0000
Subject: [PATCH] Document that syncronhous commit can be turned off in a
 single multi-statement transaction.

---
 doc/src/sgml/config.sgml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 0d11754905d..f070290f483 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.152 2007/11/01 17:06:30 momjian Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.153 2007/11/05 17:35:38 momjian Exp $ -->
 
 <chapter Id="runtime-config">
   <title>Server Configuration</title>
@@ -1318,7 +1318,9 @@ SET ENABLE_SEQSCAN TO OFF;
         In many situations, turning off <xref linkend="guc-synchronous-commit">
         for noncritical transactions can provide much of the potential
         performance benefit of turning off <varname>fsync</varname>, without
-        the attendant risks of data corruption.
+        the attendant risks of data corruption.  It can even be turned
+        off in a single multi-statement transaction using <command>SET
+        LOCAL synchronous_commit TO OFF;</>.
        </para>
 
        <para>
-- 
GitLab