Re: Changing pg_dump default file format - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Changing pg_dump default file format
Date
Msg-id 527BECA1.90402@gmx.net
Whole thread Raw
In response to Re: Changing pg_dump default file format  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Changing pg_dump default file format
List pgsql-hackers
On 11/7/13, 1:00 PM, Josh Berkus wrote:
> If we wanted to change the defaults, I think it would be easier to
> create a separate bin name (e.g. pg_backup) than to change the existing
> parameters for pg_dump.

Note the following code in pg_dump.c:
   /* Set default options based on progname */   if (strcmp(progname, "pg_backup") == 0)       format = "c";



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: Changing pg_dump default file format
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Changing pg_dump default file format