pgsql: Use LOCKBIT_ON() instead of a bit shift in a few places.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use LOCKBIT_ON() instead of a bit shift in a few places.
Date: 2015-09-28 15:01:33
Message-ID: E1ZgZvp-0007Y9-To@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use LOCKBIT_ON() instead of a bit shift in a few places.

We do this mostly everywhere, so it seems just as well to do it here,
too.

Thomas Munro

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f40792a93ccdc4d01c448121da67693fc2f6297a

Modified Files
--------------
src/backend/storage/lmgr/deadlock.c | 4 ++--
src/backend/storage/lmgr/lock.c | 42 +++++++++++++++++------------------
2 files changed, 23 insertions(+), 23 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-09-28 17:31:27 pgsql: Fix ON CONFLICT DO UPDATE for tables with oids.
Previous Message Robert Haas 2015-09-28 14:54:35 pgsql: Don't try to create a temp install without abs_top_builddir.