Even if our PgAdmin feature is disabled, the roles and DBs script will still run. This script creates a PgAdmin role and empty DB, a function to retrieve connection params in the newly created PgAdmin DB and also grants the PgAdmin role read/write access to the Odoo DB. Ideally, none of the above should happen if PgAdmin is disabled, which is not a big deal, but we should improve the implementation at some point to make the PgAdmin module self-contained.
Even if our PgAdmin feature is disabled, the roles and DBs script will still run. This script creates a PgAdmin role and empty DB, a function to retrieve connection params in the newly created PgAdmin DB and also grants the PgAdmin role read/write access to the Odoo DB. Ideally, none of the above should happen if PgAdmin is disabled, which is not a big deal, but we should improve the implementation at some point to make the PgAdmin module self-contained.