pgsql: Disable statement timeouts while making or restoring dumps.

Started by Andrew Dunstanabout 18 years ago3 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Dunstan (#1)
Re: pgsql: Disable statement timeouts while making or restoring dumps.

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

#3Andrew Dunstan
andrew@dunslane.net
In reply to: Tom Lane (#2)
Re: pgsql: Disable statement timeouts while making or restoring dumps.

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