pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Florian Weimer <fweimer@bfk.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Asynchronous commit documentation gap
Date: Sun, 04 Nov 2007 09:05:27 +0000
Message-ID: <1194167127.4258.27.camel@ebony.site> (raw)
In-Reply-To: <82ejf9q7k8.fsf@mid.bfk.de>
References: <82ejf9q7k8.fsf@mid.bfk.de>

On Fri, 2007-11-02 at 11:13 +0100, Florian Weimer wrote:
> The documentation doesn't really tell how to disable synchronous
> commits for a single commit.  I believe the correct command is
> 
>   SET LOCAL synchronous_commit TO OFF;
> 
> just before the COMMIT statement.

Yes, in fact anywhere within the transaction will do.

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com




view thread (3+ messages)  latest in thread

Message-ID: <1194167127.4258.27.camel@ebony.site>
Permalink:  ../1194167127.4258.27.camel@ebony.site/
Also on:    postgresql.org/message-id/1194167127.4258.27.camel@ebony.site

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: simon@2ndquadrant.com, fweimer@bfk.de, pgsql-hackers@postgresql.org
  Subject: Re: Asynchronous commit documentation gap
  In-Reply-To: <1194167127.4258.27.camel@ebony.site>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox