function pgsql_is_available in Drupal 5
Same name and namespace in other branches
- 6 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');
}