Mention to pg_backup in pg_dump.c

Поиск
Список
Период
Сортировка
Искать

Mention to pg_backup in pg_dump.c

От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
Hi all,

I just bumped into the following thing in pg_dump.c:   /* Set default options based on progname */   if (strcmp(progname, "pg_backup") == 0)       format = "c";
As far as I can see this comes from e8f69be0 dated of 2000. Couldn't
this be removed? I have never seen traces of pg_backup in the code.

Regards,
-- 
Michael


Re: Mention to pg_backup in pg_dump.c

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Michael Paquier  writes:
> I just bumped into the following thing in pg_dump.c:
>     /* Set default options based on progname */
>     if (strcmp(progname, "pg_backup") == 0)
>         format = "c";
> As far as I can see this comes from e8f69be0 dated of 2000. Couldn't
> this be removed? I have never seen traces of pg_backup in the code.

Looks dead to me too --- deleted.
		regards, tom lane


Re: Mention to pg_backup in pg_dump.c

От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
On Fri, Oct 14, 2016 at 5:08 AM, Tom Lane  wrote:
> Michael Paquier  writes:
>> I just bumped into the following thing in pg_dump.c:
>>     /* Set default options based on progname */
>>     if (strcmp(progname, "pg_backup") == 0)
>>         format = "c";
>> As far as I can see this comes from e8f69be0 dated of 2000. Couldn't
>> this be removed? I have never seen traces of pg_backup in the code.
>
> Looks dead to me too --- deleted.

Thanks.
-- 
Michael


FAQ