Re: [WIP] The relminxid addition, try 3 - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: [WIP] The relminxid addition, try 3
Date
Msg-id 20060508194654.GI3351@surnet.cl
Whole thread Raw
In response to Re: [WIP] The relminxid addition, try 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [WIP] The relminxid addition, try 3
Re: [WIP] The relminxid addition, try 3
List pgsql-patches
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Ah, there's another reason, and it's that I'm rewriting the tuple in
> > place, not calling heap_update.
>
> Is that really a good idea, as compared to using heap_update?

Not sure -- we would leave dead tuples after the VACUUM is finished if
we used heap_update, no?  ISTM it's undesirable.

> (Now, if you're combining this with the very grotty relpages/reltuples
> update code, then I'm all for making that xlog properly --- we've gotten
> away without it so far but it really should xlog the change.)

I hadn't done that, but I'll see what I can do.  Notice however that I'm
doing this in both pg_class _and_ pg_database.

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

pgsql-patches by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: Page at a time index scan
Next
From: Tom Lane
Date:
Subject: Re: [WIP] The relminxid addition, try 3