postgres connection support and additional configs