Skip to content

Commit b83bd31

Browse files
committed
TEMPORARILY make synchronous_commit default to OFF, so that we can get more
thorough testing of async-commit mode from the buildfarm. This patch MUST get reverted before 8.3 release!
1 parent 647fd9a commit b83bd31

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

doc/src/sgml/config.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.136 2007/08/04 01:26:53 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.137 2007/08/13 19:27:11 tgl Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1352,6 +1352,14 @@ SET ENABLE_SEQSCAN TO OFF;
13521352
commits. It is therefore possible, and useful, to have some
13531353
transactions commit synchronously and others asynchronously.
13541354
</para>
1355+
1356+
<!-- this note should go away before release!! -->
1357+
<note>
1358+
<para>
1359+
For testing purposes, <varname>synchronous_commit</varname> will
1360+
default to <literal>off</> until 8.3 release approaches.
1361+
</para>
1362+
</note>
13551363
</listitem>
13561364
</varlistentry>
13571365

src/backend/utils/misc/guc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.411 2007/08/08 16:00:46 tgl Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.412 2007/08/13 19:27:11 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -560,7 +560,8 @@ static struct config_bool ConfigureNamesBool[] =
560560
NULL
561561
},
562562
&XactSyncCommit,
563-
true, NULL, NULL
563+
/* XXX TEMPORARY FOR TESTING: sync commit should default to TRUE! */
564+
false, NULL, NULL
564565
},
565566
{
566567
{"zero_damaged_pages", PGC_SUSET, DEVELOPER_OPTIONS,

src/tools/RELEASE_CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
For All Releases (major, minor, beta, RC)
22
================
33

4+
*** SPECIAL FOR 8.3: don't forget to revert patch of 2007-08-13 that
5+
made synchronous_commit default to OFF. Affects this file, guc.c, and
6+
config.sgml.
7+
48
* Release version number changes
59
o doc/bug.template
610
o bump Win32 interface version numbers

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy