SELECT name, setting FROM pg_settings WHERE name IN ('max_connections', 'autovacuum_max_workers');SELECT COUNT(*) FROM pg_stat_activity