Skip to content

Commit fdeb6e6

Browse files
Remove dead code in pg_ctl.c.
Missed in 39969e2. Author: David Steele Discussion: https://postgr.es/m/0c742f0c-d663-419d-b5a7-4fe867f5566c%40pgmasters.net
1 parent e9d12a5 commit fdeb6e6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ static time_t start_time;
9696
static char postopts_file[MAXPGPATH];
9797
static char version_file[MAXPGPATH];
9898
static char pid_file[MAXPGPATH];
99-
static char backup_file[MAXPGPATH];
10099
static char promote_file[MAXPGPATH];
101100
static char logrotate_file[MAXPGPATH];
102101

@@ -2447,7 +2446,6 @@ main(int argc, char **argv)
24472446
snprintf(postopts_file, MAXPGPATH, "%s/postmaster.opts", pg_data);
24482447
snprintf(version_file, MAXPGPATH, "%s/PG_VERSION", pg_data);
24492448
snprintf(pid_file, MAXPGPATH, "%s/postmaster.pid", pg_data);
2450-
snprintf(backup_file, MAXPGPATH, "%s/backup_label", pg_data);
24512449

24522450
/*
24532451
* Set mask based on PGDATA permissions,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy