Add BackendType for standalone backends
authorAndres Freund <andres@anarazel.de>
Tue, 23 Aug 2022 03:22:50 +0000 (20:22 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 23 Aug 2022 03:22:50 +0000 (20:22 -0700)
commit0c679464a837079acc75ff1d45eaa83f79e05690
tree0cf8f58398c6d924bd450b459eb17722ea361728
parentcd063344fb801a90a40923a5b8aefe4eb8d80762
Add BackendType for standalone backends

All backends should have a BackendType to enable statistics reporting
per BackendType.

Add a new BackendType for standalone backends, B_STANDALONE_BACKEND (and
alphabetize the BackendTypes). Both the bootstrap backend and single
user mode backends will have BackendType B_STANDALONE_BACKEND.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/CAAKRu_aaq33UnG4TXq3S-OSXGWj1QGf0sU%2BECH4tNwGFNERkZA%40mail.gmail.com
src/backend/utils/init/miscinit.c
src/include/miscadmin.h