Re: AW: autovacuum is ON in the system but commented out in postgresql.conf

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: "Subramanian,Ramachandran" <ramachandran.subramanian@alte-leipziger.de>, "David G. Johnston" <david.g.johnston@gmail.com>
Cc: "pgsql-novice@lists.postgresql.org" <pgsql-novice@lists.postgresql.org>
Date: 2026-05-13T13:35:27Z
Lists: pgsql-novice
On Wed, 2026-05-13 at 13:21 +0000, Subramanian,Ramachandran wrote:
> So autovacuum is by default ON and that is why even though it is commented out in the postgresql.conf it is still active.
>  
> Is my understanding of your answer correct ?

Yes.  A comment is just a comment and does not influence the actual parameter value.

Parameters in postgresql.conf are typically commented out and set to the
default value for documentation purposes.

Yours,
Laurenz Albe