Add suggestion to restart if the "impossible" happens.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 17 Aug 2006 02:48:39 +0000 (02:48 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 17 Aug 2006 02:48:39 +0000 (02:48 +0000)
includes/DatabasePostgres.php

index f1119c7..f5fe6b2 100644 (file)
@@ -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" );
                }