die( "PostgreSQL functions missing, have you compiled PHP with the --with-pgsql option?\n" );
}
+ global $wgDBschema;
+
$this->close();
$this->mServer = $server;
$this->mUser = $user;
} else {
$this->mOpened = true;
}
+ $this->query("SET search_path = $wgDBschema,public");
}
return $this->mConn;
}
$wgDBtype = "mysql";
/** Table name prefix */
$wgDBprefix = '';
+/** Database schema
+ * on some databases this allows separate
+ * logical namespace for application data
+ */
+$wgDBschema = 'mediawiki';
/**#@-*/
+
+
# Shared database for multiple wikis.
# Presently used for storing a user table for single sign-on
# The server for this database must be the same as for the main