pgsql: Create a separate file listing backend types
От | Álvaro Herrera |
---|---|
Тема | pgsql: Create a separate file listing backend types |
Дата | |
Msg-id | E1v28P1-000B0m-2B@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Create a separate file listing backend types Use our established coding pattern to reduce maintenance pain when adding other per-process-type characteristics. Like PG_KEYWORD, PG_CMDTAG, PG_RMGR. To keep the strings translatable, the relevant makefile now also scans src/include for this specific file. I didn't want to have it scan all .h files, as then gettext would have to scan all header files. I didn't find any way to affect the meson behavior in this respect though. Author: Álvaro Herrera <alvherre@kurilemu.de> Co-authored-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com> Discussion: https://postgr.es/m/202507151830.dwgz5nmmqtdy@alvherre.pgsql Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/dbf8cfb4f02eb9ec5525de1761675f9babfd30e3 Modified Files -------------- src/backend/nls.mk | 2 +- src/backend/postmaster/launch_backend.c | 32 +++--------------- src/backend/utils/init/miscinit.c | 59 +++------------------------------ src/include/postmaster/proctypelist.h | 51 ++++++++++++++++++++++++++++ src/tools/pginclude/headerscheck | 9 ++--- 5 files changed, 65 insertions(+), 88 deletions(-)
В списке pgsql-committers по дате отправления: