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

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: "Subramanian,Ramachandran" <ramachandran(dot)subramanian(at)alte-leipziger(dot)de>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: Re: AW: autovacuum is ON in the system but commented out in postgresql.conf
Date: 2026-05-13 13:35:27
Message-ID: d99ff7783d7cd20db156137a615bce31dee8766c.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Subramanian,Ramachandran 2026-05-15 09:15:27 Vacuum Freeze and relfrozenxid - How to check which tables need to be vacuumed
Previous Message Subramanian,Ramachandran 2026-05-13 13:21:30 AW: autovacuum is ON in the system but commented out in postgresql.conf