postgres/src/backend/bootstrap
Michael Paquier 4800a5dfb4 Refactor InitPostgres() to use bitwise option flags
InitPostgres() has been using a set of boolean arguments to control its
behavior, and a patch under discussion was aiming at expanding it with a
third one.  In preparation for expanding this area, this commit switches
all the current boolean arguments of this routine to a single bits32
argument instead.  Two values are currently supported for the flags:
- INIT_PG_LOAD_SESSION_LIBS to load [session|local]_preload_libraries at
startup.
- INIT_PG_OVERRIDE_ALLOW_CONNS to allow connection to a database even if
it has !datallowconn.  This is used by bgworkers.

Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/ZSTn66_BXRZCeaqS@paquier.xyz
2023-10-11 12:31:49 +09:00
..
.gitignore Build all Flex files standalone 2022-09-04 12:09:01 +07:00
bootparse.y Fix CREATE INDEX progress reporting for multi-level partitioning. 2023-03-25 15:34:03 -04:00
bootscanner.l Update copyright for 2023 2023-01-02 15:00:37 -05:00
bootstrap.c Refactor InitPostgres() to use bitwise option flags 2023-10-11 12:31:49 +09:00
Makefile Build all Flex files standalone 2022-09-04 12:09:01 +07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00