aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-10-25 16:26:59 -0500
committerNathan Bossart <nathan@postgresql.org>2023-10-25 16:26:59 -0500
commitfdeb6e6a74f26e7b4504d358ffc751a6d74c08ab (patch)
tree91f88e94ea7f856359a7f888943cb9ebf95bb1d3
parente9d12a5e22e02bace45dc2ba0e0dcca5b5d4fc52 (diff)
downloadpostgresql-fdeb6e6a74f26e7b4504d358ffc751a6d74c08ab.tar.gz
postgresql-fdeb6e6a74f26e7b4504d358ffc751a6d74c08ab.zip
Remove dead code in pg_ctl.c.
Missed in 39969e2a1e. Author: David Steele Discussion: https://postgr.es/m/0c742f0c-d663-419d-b5a7-4fe867f5566c%40pgmasters.net
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 807d7023a99..4099d240e03 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -96,7 +96,6 @@ static time_t start_time;
static char postopts_file[MAXPGPATH];
static char version_file[MAXPGPATH];
static char pid_file[MAXPGPATH];
-static char backup_file[MAXPGPATH];
static char promote_file[MAXPGPATH];
static char logrotate_file[MAXPGPATH];
@@ -2447,7 +2446,6 @@ main(int argc, char **argv)
snprintf(postopts_file, MAXPGPATH, "%s/postmaster.opts", pg_data);
snprintf(version_file, MAXPGPATH, "%s/PG_VERSION", pg_data);
snprintf(pid_file, MAXPGPATH, "%s/postmaster.pid", pg_data);
- snprintf(backup_file, MAXPGPATH, "%s/backup_label", pg_data);
/*
* Set mask based on PGDATA permissions,