pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: pgsql-bugs@postgresql.org
To: jan@snelders.net
Subject: Re: Postgresql ACID bug?
Date: Tue, 30 Aug 2011 22:16:33 +0800
Message-ID: <4E5CF0C1.80604@ringerc.id.au> (raw)
In-Reply-To: <efb6742f2aaebfc7e8de4f6e413c9268@mail.snelders.net>
References: <efb6742f2aaebfc7e8de4f6e413c9268@mail.snelders.net>

On 30/08/2011 9:18 PM, Jan Snelders wrote:

> The program now selects and prints the records from the SELECT
> transaction. (0 records printed, we expected one record since we are
> still within the SELECT transaction which started while this record was
> still available)

This isn't a bug. You're using READ COMMITTED mode, and you appear to 
expect SERIALIZABLE mode. See:

http://www.postgresql.org/docs/current/interactive/transaction-iso.html

--
Craig Ringer




view thread (3+ messages)  latest in thread

Message-ID: <4E5CF0C1.80604@ringerc.id.au>
Permalink:  ../4E5CF0C1.80604@ringerc.id.au/
Also on:    postgresql.org/message-id/4E5CF0C1.80604@ringerc.id.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ringerc@ringerc.id.au, jan@snelders.net
  Subject: Re: Postgresql ACID bug?
  In-Reply-To: <4E5CF0C1.80604@ringerc.id.au>
  References: <efb6742f2aaebfc7e8de4f6e413c9268@mail.snelders.net> <4E5CF0C1.80604@ringerc.id.au>

* 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