checking for pg_conn cofig value in a nicer way