pgsql: Add BackendType for standalone backends - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add BackendType for standalone backends
Date
Msg-id E1oQKct-000mqN-OS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0c679464a837079acc75ff1d45eaa83f79e05690

Modified Files
--------------
src/backend/utils/init/miscinit.c | 17 +++++++++++------
src/include/miscadmin.h           |  5 +++--
2 files changed, 14 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: pgstat: Acquire lock when reading variable-numbered stats
Next
From: Andres Freund
Date:
Subject: pgsql: Don't define FRONTEND for libpq