pgsql config file detection