> If you have it set to less than the time needed to do a vacuum, then
> yes, autovac will fail.  You expected differently?  Do you think it's
> a good idea for autovac to ignore statement_timeout?  (Maybe it is,
> but I suspect we'd get complaints about that too.)
>

"alter role set statement_timeout" solves my immediate problem (I did not
know about it, thanks guys). Maybe a comment in postgresql.conf, or docs:

# note: statement_timeout applies to autovacuum, pg_dump, vacuumdb etc.
# If you set it globally, consider "alter role postgres set
statement_timeout=0"


Greetings
Marcin Mańk


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to