Re: [HACKERS] [PATCH] Assert that the correct locks are held whencalling PageGetLSN()

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: [HACKERS] [PATCH] Assert that the correct locks are held whencalling PageGetLSN()
Дата
Msg-id CABAq_6HtmvF5KFLD5TWzTEV_RB+Gy5Vc-TzOpD6grawv2Nxwjw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] Assert that the correct locks are held whencalling PageGetLSN()  (Jacob Champion <pchampion@pivotal.io>)
Ответы Re: [HACKERS] [PATCH] Assert that the correct locks are held when calling PageGetLSN()  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
On Wed, Sep 6, 2017 at 8:37 AM, Jacob Champion <pchampion@pivotal.io> wrote:
> On Tue, Sep 5, 2017 at 10:49 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> In short, it seems to me that this patch should be rejected in its
>> current shape.
>
> Is the half of the patch that switches PageGetLSN to
> BufferGetLSNAtomic correct, at least?

Any further thoughts on this? If the BufferGetLSNAtomic fixes made
here are not correct to begin with, then the rest of the patch is
probably moot; I just want to double-check that that is the case.

--Jacob


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
Следующее
От: David Steele
Дата:
Сообщение: Re: [HACKERS] Show backtrace when tap tests fail