postgresql/src/backend
Michael Paquier d03d7549b2 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
2020-11-24 12:39:58 +09:00
..
access Centralize logic for skipping useless ereport/elog calls. 2020-11-23 19:10:46 -05:00
bootstrap Fix some stray whitespace in parser files 2020-11-11 17:37:18 +01:00
catalog Centralize logic for skipping useless ereport/elog calls. 2020-11-23 19:10:46 -05:00
commands Split copy.c into four files. 2020-11-23 10:50:50 +02:00
executor Skip allocating hash table in EXPLAIN-only mode. 2020-11-18 12:39:15 +02:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit jit: Add support for LLVM 12. 2020-11-09 20:01:33 -08:00
lib Use pg_bitutils for HyperLogLog. 2020-07-30 09:14:23 -07:00
libpq Fix a few comments that referred to copy.c. 2020-11-23 11:36:13 +02:00
main Remove -o option to postmaster 2020-11-10 13:15:01 +01:00
nodes Remove undocumented IS [NOT] OF syntax. 2020-11-19 17:39:39 -05:00
optimizer Fix get_useful_pathkeys_for_relation for volatile expressions 2020-11-03 22:31:57 +01:00
parser Remove undocumented IS [NOT] OF syntax. 2020-11-19 17:39:39 -05:00
partitioning Do not return NULL for error cases in satisfies_hash_partition(). 2020-11-16 16:39:59 -05:00
po Translation updates 2020-05-18 12:49:30 +02:00
port Fix -Wcast-function-type warnings on Windows/MinGW 2020-10-21 08:17:51 +02:00
postmaster Rename PGPROC->vacuumFlags to statusFlags 2020-11-16 19:42:55 -03:00
regex Dial back -Wimplicit-fallthrough to level 3 2020-05-13 15:31:14 -04:00
replication Centralize logic for skipping useless ereport/elog calls. 2020-11-23 19:10:46 -05:00
rewrite Improve wording of two error messages related to generated columns. 2020-11-23 11:15:12 -05:00
snowball code: replace most remaining uses of 'master'. 2020-07-08 13:24:35 -07:00
statistics Fix some grammar and typos in comments and docs 2020-11-02 15:14:41 +09:00
storage Use macros instead of hardcoded offsets for LWLock initialization 2020-11-24 12:39:58 +09:00
tcop Further fixes for CREATE TABLE LIKE: cope with self-referential FKs. 2020-11-19 15:03:17 -05:00
tsearch Improve behavior of tsearch_readline(), and remove t_readline(). 2020-09-23 20:26:58 -04:00
utils Centralize logic for skipping useless ereport/elog calls. 2020-11-23 19:10:46 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Add missing gettext triggers 2020-04-28 13:35:40 +02:00