Re: Access to transaction status

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Christian Plattner" <postgresql(at)sioux(dot)ch>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Access to transaction status
Date: 2003-06-20 14:04:18
Message-ID: 17744.1056117858@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Christian Plattner" <postgresql(at)sioux(dot)ch> writes:
> From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
>> How much later? clog is not kept forever.

> As far as I understand your code there is only one chance that information
> in clog gets lost:
> If XIDs are reused then ExtendCLOG will overwrite existing entries.
> Also, it seems to me that VACCUM has not effect on the clog.

You're quite mistaken. clog is truncated during vacuum, once we are
confident that there are no unvacuumed rows in the database with XIDs
older than a certain point. This is to keep clog space requirements
within reason.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-06-20 14:14:58 Re: [HACKERS] Subtraction carry bug in xlog.c in 7.3 and 7.4
Previous Message Tom Lane 2003-06-20 13:53:01 Re: Ownership change doesn't change privileges