Re: pgsql: Do all accesses to shared buffer headers through

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Do all accesses to shared buffer headers through
Дата
Msg-id 15672.1129163252@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Do all accesses to shared buffer headers  (Neil Conway <neilc@samurai.com>)
Список pgsql-committers
Neil Conway <neilc@samurai.com> writes:
> IMHO it is notationally clearer to define a "BufferDescPtr" that
> contains the "volatile" qualifier than to make sure that "volatile" is
> used everywhere that it is needed -- obviously, neither approach is
> fool-proof. But perhaps that's just me...

Personally I dislike hiding type qualifiers like const and volatile
inside typedefs.  I agree it's a judgment call.

            regards, tom lane

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