exit;
}
$this->setServerInfo('platform', $platform, $server_id);
+ $this->setServerInfo('pgVersion', $_connection->conn->pgVersion, $server_id);
// Create a database wrapper class for easy manipulation of the
// connection.
}
$_server_info = $misc->getServerInfo();
+ /* starting with PostgreSQL 9.0, we can set the application name */
+ if(isset($_server_info['pgVersion']) && $_server_info['pgVersion'] >= 9)
+ putenv("PGOPTIONS=--application_name={$appName}_{$appVersion}");
+
// Redirect to the login form if not logged in
if (!isset($_server_info['username'])) {
include('./login.php');