Re: Changing pg_dump default file format

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changing pg_dump default file format
Date: 2013-11-07 19:40:17
Message-ID: 527BECA1.90402@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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";

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2013-11-07 20:05:41 Re: Changing pg_dump default file format
Previous Message Joshua D. Drake 2013-11-07 19:34:20 Re: Changing pg_dump default file format