diff options
author | John Naylor <john.naylor@postgresql.org> | 2022-09-08 13:23:13 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2022-09-08 13:55:41 +0700 |
commit | 69eb643b2582f180c91b2d14c896402e54040231 (patch) | |
tree | 33e3ba8f1d980b883923c1340172d217eafb34f8 /src/backend/access/transam/parallel.c | |
parent | 0324651573479f4e782f76c0d06f2ebd02e6160a (diff) | |
download | postgresql-69eb643b2582f180c91b2d14c896402e54040231.tar.gz postgresql-69eb643b2582f180c91b2d14c896402e54040231.zip |
Parse catalog .dat files as a whole when compiling the backend
Previously Catalog.pm eval'd each individual hash reference
so that comments and whitespace can be preserved when running
reformat-dat-files. This is unnecessary when building, and we can save
~15% off the run time of genbki.pl by simply slurping and eval'-ing
the whole file at once. This saves a bit of time, especially in highly
parallel builds, since most build targets depend on this script's outputs.
Report and review by Andres Freund
Discussion: https://www.postgresql.org/message-id/CAFBsxsGW%3DWRbnxXrc8UqqR479XuxtukSFWV-hnmtgsbuNAUO6w%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions