Thread: pgsql: Disable statement timeouts while making or restoring dumps.

pgsql: Disable statement timeouts while making or restoring dumps.

From
adunstan@postgresql.org (Andrew Dunstan)
Date:
Log Message:
-----------
Disable statement timeouts while making or restoring dumps.

Joshua Drake.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        pg_backup_archiver.c (r1.154 -> r1.155)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c?r1=1.154&r2=1.155)
        pg_dump.c (r1.488 -> r1.489)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.488&r2=1.489)

adunstan@postgresql.org (Andrew Dunstan) writes:
> Disable statement timeouts while making or restoring dumps.

The pg_backup_archiver.c change is wrong: the command should
be issued inside _doSetFixedOutputState().

            regards, tom lane

Re: pgsql: Disable statement timeouts while making or restoring dumps.

From
Andrew Dunstan
Date:

Tom Lane wrote:
> adunstan@postgresql.org (Andrew Dunstan) writes:
>
>> Disable statement timeouts while making or restoring dumps.
>>
>
> The pg_backup_archiver.c change is wrong: the command should
> be issued inside _doSetFixedOutputState().
>
>
>


Yes, quite true. Sorry. I have fixed it.

cheers

andrew