Re: Min Xid problem proposal

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Min Xid problem proposal
Дата
Msg-id 20051209185721.GA27513@surnet.cl
обсуждение исходный текст
Ответ на Re: Min Xid problem proposal  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Min Xid problem proposal  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> I don't see any very good argument for allowing this mechanism to set
> minxid = FrozenXid in the first place.  If there are only frozenXid in
> the table, set minxid = current XID.  That eliminates the entire problem
> at a stroke.

Ok, so I shall go back to the original patch, which did exactly this.
Is it OK for applying?

(I'm using RecentXmin instead of current XID though, because a
currently-running transaction could insert tuples in the table I just
vacuumed.)

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


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Log of CREATE USER statement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Log of CREATE USER statement