Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled? - Mailing list pgsql-bugs

From Andrey Zhidenkov
Subject Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled?
Date
Msg-id CAN=gQ4B7HCeVc_D6eKNfnr8WN-7V35xbfdrowaf5fA_V_c5dGg@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] Can postgres run autovacuum tasks when autovacuum is disabled?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Thank you for your fix. It is really seems that this bug appears only when some autovacuum jobs are active.

Andrey Zhidenkov.


On Wed, Jul 30, 2014 at 7:09 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
I wrote:
> However ... it looks to me like if the autovac launcher gets launched
> forcibly because of a possible wraparound issue, it will keep running
> normally after that even if autovacuum is off :-(.

Nope, scratch that: I missed the bit before the launcher's main loop,
where it fires off one child and exits if it's launched when autovacuum
is already false.

Still, if it does fire one child process, it looks like that child will
vacuum everything that seems to need vacuuming in the target database.
We should probably adjust that so that tables not in danger of wraparound
get skipped.

                        regards, tom lane


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



--
С уважением, Андрей Жиденков.

                       _
ASCII ribbon campaign ( )
against HTML e-mail X
/ \

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #10991: psql -c ignores my pager settings in ~/.psqlrc
Next
From: Matheus de Oliveira
Date:
Subject: Re: BUG #10991: psql -c ignores my pager settings in ~/.psqlrc