From 516b02f446572a8ae6550b39213bba3360263baf Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Tue, 17 Sep 2024 13:57:21 -0500 Subject: [PATCH v1 3/3] add names to some upgrade task structs --- src/bin/pg_upgrade/task.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_upgrade/task.c b/src/bin/pg_upgrade/task.c index 8ef5d26eb5..ba1726c25e 100644 --- a/src/bin/pg_upgrade/task.c +++ b/src/bin/pg_upgrade/task.c @@ -89,7 +89,7 @@ struct UpgradeTask /* * The different states for a parallel slot. */ -typedef enum +typedef enum UpgradeTaskSlotState { FREE, /* slot available for use in a new database */ CONNECTING, /* waiting for connection to be established */ @@ -99,7 +99,7 @@ typedef enum /* * We maintain an array of user_opts.jobs slots to execute the task. */ -typedef struct +typedef struct UpgradeTaskSlot { UpgradeTaskSlotState state; /* state of the slot */ int db_idx; /* index of the database assigned to slot */ -- 2.39.3 (Apple Git-146)