Re: [DOCS] Autovacuum and XID wraparound

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chris Browne <cbbrowne(at)acm(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [DOCS] Autovacuum and XID wraparound
Date: 2007-05-15 22:13:47
Message-ID: 20070515221347.GT12731@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-patches

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > I suppose it would be pretty trivial to set the relfrozenxid to
> > RecentXmin or something during TRUNCATE.
>
> I had the idea we were doing that already --- at least I'm pretty sure I
> remember it being discussed. But I see it's not being done in HEAD.

Patch to do it attached. I am thinking we can do something similar in
CLUSTER as well.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment Content-Type Size
truncate-relfrozenxid.patch text/x-diff 4.5 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jim C. Nasby 2007-05-16 00:25:00 Re: [DOCS] Autovacuum and XID wraparound
Previous Message Michael Stone 2007-05-15 17:44:29 Re: [doc patch] a slight VACUUM / VACUUM FULL doc improvement proposal

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-05-15 22:23:19 Re: Maintaining cluster order on insert
Previous Message Bruce Momjian 2007-05-15 17:40:00 Re: Doc and comment patch for packed varlena