I found this query to see if autovacuum is diabled on a given table. I have autovacuum and statistics collector enabled on the postgresql.
SELECT reloptions FROM pg_class WHERE relname='my_table';
reloptions
----------------------------
{autovacuum_enabled=false}
(1 row)
but what I get is just a NULL value for the given table.
Does it mean autovacuum is not enabled in any of the tables i query? please advise