Manual bitswizzling -> LOCKBIT_ON - Mailing list pgsql-hackers

From Thomas Munro
Subject Manual bitswizzling -> LOCKBIT_ON
Date
Msg-id CAEepm=1hYPebYfVJ=sK9SyTjKGjLkBjXNh2fxBFCT5+3Cw4OkQ@mail.gmail.com
Whole thread Raw
Responses Re: Manual bitswizzling -> LOCKBIT_ON  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi

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?

--
Thomas Munro
http://www.enterprisedb.com

Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: PATCH: use foreign keys to improve join estimates v1
Next
From: Robert Haas
Date:
Subject: Re: Parallel Seq Scan