function pgsql_is_available

6.x 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 drupal-6.x/includes/install.pgsql.inc
Check if we can connect to PostgreSQL.

File

drupal-6.x/includes/install.pgsql.inc, line 11

Code

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