You are here

function pgsql_is_available in Drupal 6

Same name and namespace in other branches
  1. 5 includes/install.pgsql.inc \pgsql_is_available()

Check if PostgreSQL is available.

Return value

TRUE/FALSE

1 call to pgsql_is_available()
drupal_test_pgsql in includes/install.pgsql.inc
Check if we can connect to PostgreSQL.

File

includes/install.pgsql.inc, line 11

Code

function pgsql_is_available() {
  return function_exists('pg_connect');
}