Re: [WIP] The relminxid addition, try 3

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [WIP] The relminxid addition, try 3
Дата
Msg-id 20060508200831.GK3351@surnet.cl
обсуждение исходный текст
Ответ на Re: [WIP] The relminxid addition, try 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [WIP] The relminxid addition, try 3
Список pgsql-patches
Tom Lane wrote:

> BTW, one thing I was looking at last week was whether we couldn't
> refactor the relpages/reltuples updates to be done in a cleaner place.
> Right now UpdateStats is called (for indexes) directly from the index
> AM, which sucks from a modularity point of view, and what's worse it
> forces two successive updates of the same tuple during CREATE INDEX.
> We should reorganize things so this is done once at the outer level.
> It'd require some change of the ambuild() API, but considering we're
> hacking several other aspects of the AM API in this development cycle,
> that doesn't bother me.

I'm rather stuck in Mammoth Replicator currently :-( so I'm not sure
when I could devote some time to this task.  If you want to do it, go
ahead and I can adapt the relminxid patch to your changes.  Or you can
take the relminxid patch from where it currently is, if you feel so
inclined.

If you don't, I'll eventually come back to it, but I'm not sure when
will that be.

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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [WIP] The relminxid addition, try 3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [WIP] The relminxid addition, try 3