]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Create a separate file listing backend types
authorÁlvaro Herrera <alvherre@kurilemu.de>
Fri, 26 Sep 2025 13:21:49 +0000 (15:21 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Fri, 26 Sep 2025 13:21:49 +0000 (15:21 +0200)
commitdbf8cfb4f02eb9ec5525de1761675f9babfd30e3
tree7bb306ce314cf262c6bb54473bc7571d9cab1d4b
parent8bb174295e8920fe202e2fb4c8d271e4546b9e98
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
src/backend/nls.mk
src/backend/postmaster/launch_backend.c
src/backend/utils/init/miscinit.c
src/include/postmaster/proctypelist.h [new file with mode: 0644]
src/tools/pginclude/headerscheck