From: Dilip Kumar Date: Sat, 23 Oct 2021 10:03:13 +0000 (+0530) Subject: Add DEADTID_FORK X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=aaaf5c8e5a2b2d75824f01181f497bff164b11a5;p=users%2Frhaas%2Fpostgres.git Add DEADTID_FORK --- diff --git a/src/common/relpath.c b/src/common/relpath.c index 1f5c426ec0..20624e2996 100644 --- a/src/common/relpath.c +++ b/src/common/relpath.c @@ -34,7 +34,8 @@ const char *const forkNames[] = { "main", /* MAIN_FORKNUM */ "fsm", /* FSM_FORKNUM */ "vm", /* VISIBILITYMAP_FORKNUM */ - "init" /* INIT_FORKNUM */ + "init", /* INIT_FORKNUM */ + "tid" /* DEADTID_FORKNUM */ }; StaticAssertDecl(lengthof(forkNames) == (MAX_FORKNUM + 1), diff --git a/src/include/common/relpath.h b/src/include/common/relpath.h index a44be11ca0..0d38e07381 100644 --- a/src/include/common/relpath.h +++ b/src/include/common/relpath.h @@ -43,7 +43,8 @@ typedef enum ForkNumber MAIN_FORKNUM = 0, FSM_FORKNUM, VISIBILITYMAP_FORKNUM, - INIT_FORKNUM + INIT_FORKNUM, + DEADTID_FORKNUM /* * NOTE: if you add a new fork, change MAX_FORKNUM and possibly @@ -52,7 +53,7 @@ typedef enum ForkNumber */ } ForkNumber; -#define MAX_FORKNUM INIT_FORKNUM +#define MAX_FORKNUM DEADTID_FORKNUM #define FORKNAMECHARS 4 /* max chars for a fork name */