From ff2c3f84864fb7af8b947a5b9d5386d674b9f7a7 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Thu, 17 Aug 2006 02:48:39 +0000 Subject: [PATCH] Add suggestion to restart if the "impossible" happens. --- includes/DatabasePostgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DatabasePostgres.php b/includes/DatabasePostgres.php index f1119c7dd4..f5fe6b2e82 100644 --- a/includes/DatabasePostgres.php +++ b/includes/DatabasePostgres.php @@ -51,7 +51,7 @@ class DatabasePostgres extends Database { function open( $server, $user, $password, $dbName ) { # Test for Postgres support, to avoid suppressed fatal error if ( !function_exists( 'pg_connect' ) ) { - throw new DBConnectionError( $this, "Postgres functions missing, have you compiled PHP with the --with-pgsql option?\n" ); + throw new DBConnectionError( $this, "Postgres functions missing, have you compiled PHP with the --with-pgsql option?\n (Note: if you recently installed PHP, you may need to restart your webserver and database)\n" ); } -- 2.20.1