git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 789b938) | patch
Use macros instead of hardcoded offsets for LWLock initialization
2020年11月24日 03:39:58 +0000 (12:39 +0900)
2020年11月24日 03:39:58 +0000 (12:39 +0900)
commit d03d7549b29236e300aceac0c22173cf19acc675
Use macros instead of hardcoded offsets for LWLock initialization

This makes the code slightly easier to follow, as the initialization
relies on an offset that overlapped with an equivalent set of macros
defined, which are used in other places already.

Author: Japin Li
Discussion: https://postgr.es/m/MEYP282MB1669FB410006758402F2C3A2B6E00@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
src/backend/storage/lmgr/lwlock.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /