Re: pgsql: Release the exclusive lock on the table early after truncating it

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgsql: Release the exclusive lock on the table early after truncating it
Дата
Msg-id 20070911002641.GF3060@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pgsql: Release the exclusive lock on the table early after truncating it  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> alvherre@postgresql.org (Alvaro Herrera) writes:
> > Release the exclusive lock on the table early after truncating it in lazy
> > vacuum, instead of waiting till commit.
>
> Weren't you going to disable vacuum_delay in that stretch of code, too?
>
> BTW, not sure if you realized this, but just deleting the
> vacuum_delay_point call is probably a bad idea --- replace it
> with CHECK_FOR_INTERRUPTS() instead.

Hmm, I didn't.  Will fix.

Actually, now that you mention it, I remember that Alexey Kluykin (a
colleague from Command Prompt) had already mentioned it to me and I
forgot :-(

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Release the exclusive lock on the table early after truncating it
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Rename recently-added pg_stat_activity column from txn_start to