aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2024-03-20 11:46:11 +0100
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2024-03-20 11:55:20 +0100
commitda952b415f4444fcc85ea79c3f006af142d3c90a (patch)
treea2467107f000c93367df5041701d8dc401b3ed9a /src/backend/access/gist/gistvalidate.c
parente5da0fe3c22b34c4433f1729e88495554b5331ed (diff)
downloadpostgresql-da952b415f4444fcc85ea79c3f006af142d3c90a.tar.gz
postgresql-da952b415f4444fcc85ea79c3f006af142d3c90a.zip
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 74a730631065, 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
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions