Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c08521e

Browse files
committed
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
1 parent cb77576 commit c08521e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bin/pg_dump/pg_dump.c

-4
Original file line numberDiff line numberDiff line change
@@ -363,10 +363,6 @@ main(int argc, char **argv)
363363

364364
progname = get_progname(argv[0]);
365365

366-
/* Set default options based on progname */
367-
if (strcmp(progname, "pg_backup") == 0)
368-
format = "c";
369-
370366
if (argc > 1)
371367
{
372368
if (strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-?") == 0)

0 commit comments

Comments
 (0)