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 20060508190221.GF3351@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  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:

> But why do you need your own xlogging at all?  Shouldn't these actions
> be perfectly ordinary updates of the relevant catalog tuples?

The XLog entry can be smaller, AFAICT (we need to store the whole new
tuple in a heap_update, right?).  If that's not a worthy goal I'll
gladly rewrite this piece of code.

Ah, there's another reason, and it's that I'm rewriting the tuple in
place, not calling heap_update.  I'm not sure if I can reuse
log_heap_update for this purpose -- I'll take a look.

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

pgsql-patches by date:

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