From c08521eb55135c493cee23541c233870cdff14b7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 13 Oct 2016 16:08:16 -0400 Subject: [PATCH] Remove dead code in pg_dump. I'm not sure if this provision for "pg_backup" behaving a bit differently from "pg_dump" ever did anything useful in a released version. But it's definitely dead code now. Michael Paquier --- src/bin/pg_dump/pg_dump.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 28ec5bf383..4da297f1d0 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -363,10 +363,6 @@ main(int argc, char **argv) progname = get_progname(argv[0]); - /* Set default options based on progname */ - if (strcmp(progname, "pg_backup") == 0) - format = "c"; - if (argc > 1) { if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0) -- 2.40.0