refactor check_postgres to separate forumla
include check_postgres in pgbouncer formula