statement_timeout and pg_dump - Mailing list pgsql-general

From Ivan Zolotukhin
Subject statement_timeout and pg_dump
Date
Msg-id 751e56400605180404r3cf4f401u2b23c7db0c936a5b@mail.gmail.com
Whole thread Raw
Responses Re: statement_timeout and pg_dump  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general
Hello,

I've recently set up statement_timeout setting in postgresql.conf to
terminate long running queries from web clients. When I run long
maintance queries (that should not be terminated) like VACUUM FULL in
psql client, I can specify per session setting like `SET
statement_timeout TO 0` not to let it fail because of the above
timeout.

But it seems that it's not possible to do long running pg_dump in this
situation because it obviously fails when reaches timeout time. So are
there any ways to increase timeout time for the dump procedure?

Thanks,
Ivan Zolotukhin

pgsql-general by date:

Previous
From: Kenneth Downs
Date:
Subject: Re: Announce: GPL Framework centered on Postgres
Next
From: Martijn van Oosterhout
Date:
Subject: Re: table variables