postgresql/src/backend/storage
Alvaro Herrera da952b415f
Rework lwlocknames.txt to become lwlocklist.h
This way, we can fold the list of lock names to occur in
BuiltinTrancheNames instead of having its own separate array.  This
saves two lines of code in GetLWTrancheName and some space in
BuiltinTrancheNames, as foreseen in commit 74a7306310, as well as
removing the need for a separate lwlocknames.c file.

We still have to build lwlocknames.h using Perl code, which initially I
wanted to avoid, but it gives us the chance to cross-check
wait_event_names.txt.

Discussion: https://postgr.es/m/202401231025.gbv4nnte5fmm@alvherre.pgsql
2024-03-20 11:55:20 +01:00
..
buffer Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
file Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
freespace Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
ipc Fix false reports in pg_visibility 2024-03-14 13:12:05 +02:00
large_object Remove unused #include's from backend .c files 2024-03-04 12:02:20 +01:00
lmgr Rework lwlocknames.txt to become lwlocklist.h 2024-03-20 11:55:20 +01:00
page Update copyright for 2024 2024-01-03 20:49:05 -05:00
smgr Don't destroy SMgrRelations at relcache invalidation 2024-03-11 09:08:02 +02:00
sync Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00