Add DEADTID_FORK
authorDilip Kumar <[email protected]>
Sat, 23 Oct 2021 10:03:13 +0000 (15:33 +0530)
committerRobert Haas <[email protected]>
Tue, 14 Dec 2021 18:59:53 +0000 (13:59 -0500)
src/common/relpath.c
src/include/common/relpath.h

index 1f5c426ec0b904b1f3cc724bb8fdeb138c17629f..20624e299660844d9443124294e694257f98c952 100644 (file)
@@ -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),
index a44be11ca0a46c9d5a65f19b5b2ef802c3911e8b..0d38e07381411781d8849c051b8e74e6fac3b005 100644 (file)
@@ -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 */