Re: Odd transaction timestamp sequence issue

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Odd transaction timestamp sequence issue
Date: 2006-04-21 15:36:39
Message-ID: 10296.1145633799@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Amiel <jamiel(at)istreamimaging(dot)com> writes:
> I thought:
> "Each transaction sees a snapshot (database version) as of its
> starttime, no matter what other transactions are doing while it runs"

That's a correct statement in SERIALIZABLE mode, but in the default
READ COMMITTED mode, it's more complicated --- a new snapshot is taken
for each command within a transaction. See the docs.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brandon Metcalf 2006-04-21 15:40:47 IDT timezone
Previous Message Alban Hertroys 2006-04-21 15:34:49 Re: A few questions about ltree