Re: [WIP] The relminxid addition, try 3

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [WIP] The relminxid addition, try 3
Дата
Msg-id 20060508194654.GI3351@surnet.cl
обсуждение исходный текст
Ответ на Re: [WIP] The relminxid addition, try 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [WIP] The relminxid addition, try 3
Re: [WIP] The relminxid addition, try 3
Список 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 по дате отправления:

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Page at a time index scan
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [WIP] The relminxid addition, try 3