Re: Side effect of synchronous_commit = off

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Yan Cheng CHEOK <yccheok(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Side effect of synchronous_commit = off
Date: 2010-03-25 08:06:50
Message-ID: 4BAB199A.7060400@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le 25/03/2010 08:49, Yan Cheng CHEOK a écrit :
> I was wondering whether setting synchronous_commit = off will have the following side effect.
>
> (1) Process A issues UPDATE command on row x, from false to true.
> (2) After that, Process B READ from row x.
>
> Is it possible that when Process B start to read row x, the "true" value is not being "flushed" to the table. Hence, process B will read the row x as false?
>

No, it's not possible.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dipti shah 2010-03-25 09:07:45 Get the list of permissions/privileges on schema
Previous Message Adrian von Bidder 2010-03-25 07:56:51 Re: Revoking CREATE TABLE