Re: a few questions (and doubts) about xid

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: a few questions (and doubts) about xid
Date: 2007-07-25 13:48:26
Message-ID: 200707251548.26161.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Gregory, thanks Simon.
I'm trying to read the tqual.c source file to better understand.

On Wednesday 25 July 2007 Gregory Stark's cat, walking on the keyboard, wrote:
> If you really want to understand how snapshots work at this level you could
> read (slowly -- it's pretty dense stuff) through
> src/backend/utils/time/tqual.c:HeapTupleSatisfiesMVCC()

I don't find it, I think you mean HeapTupleSatisfiesNow and
HeapTupleSatisfiesSnapshot.
Just for confirmation: the relfrozenxid of a fresh table is the xid of the
transaction that created it, isn't it?

Luca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2007-07-25 14:09:27 Re: a few questions (and doubts) about xid
Previous Message Simon Riggs 2007-07-25 12:43:40 Re: a few questions (and doubts) about xid