Re: Poorly thought out code in vacuum

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Poorly thought out code in vacuum
Дата
Msg-id CA+TgmoYeYaZfa-oKqpu9Y=+vSdQf=kCcRxq-M30JPX4w+vkSpw@mail.gmail.com
обсуждение исходный текст
Ответ на Poorly thought out code in vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Poorly thought out code in vacuum  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On Thu, Jan 5, 2012 at 7:37 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I suppose Robert had something more intelligent in mind than a tight
> loop when the buffer can't be exclusively locked, so maybe there is
> some other change that should be made here instead.

My intention was to skip the tuple, but I failed to notice the unusual
way in which this loop iterates.  How about something like the
attached?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Poorly thought out code in vacuum