Re: Manual bitswizzling -> LOCKBIT_ON

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Manual bitswizzling -> LOCKBIT_ON
Дата
Msg-id CA+TgmoY3TrkcqZ=kDVefD2wrY0=7nxLPBhB8g1_qX_GGRu8oag@mail.gmail.com
обсуждение исходный текст
Ответ на Manual bitswizzling -> LOCKBIT_ON  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список pgsql-hackers
On Thu, Sep 24, 2015 at 10:24 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> While studying lmgr code, I noticed that there are a couple of places
> that use 1 << x to convert a LOCKMODE to a LOCKMASK instead of the
> macro that is used elsewhere.  Should that be changed for consistency,
> as in the attached?

Sure, why not?

Committed.

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



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PGXS "check" target forcing an install ?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [PROPOSAL] VACUUM Progress Checker.