Re: pgstattuple locking fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgstattuple locking fix
Дата
Msg-id 9494.1193073664@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgstattuple locking fix  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-patches
"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> ITAGAKI Takahiro wrote:
>> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> I'm thinking that having a pin on the buffer should be enough to
>>> call PageGetHeapFreeSpace.
>>
>> Hmm... we might use pd_upper and pd_lower at different times,

> No I think the original patch was right. You can indeed read
> inconsistent values for pd_upper and pd_lower, though the window is very
> small.

Good point.  I'll apply the original patch and also Heikki's suggested
comment.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: EXECUTE USING for plpgsql (for 8.4)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgstattuple locking fix