diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-11-24 12:39:58 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-11-24 12:39:58 +0900 |
commit | d03d7549b29236e300aceac0c22173cf19acc675 (patch) | |
tree | d3b7cbd04d9f7b474ac2443194b7fe2c61331363 /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 789b938bf2b8e38d0894261eae6bc84bbbb4714e (diff) | |
download | postgresql-d03d7549b29236e300aceac0c22173cf19acc675.tar.gz postgresql-d03d7549b29236e300aceac0c22173cf19acc675.zip |
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
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions