diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-05 07:44:03 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-07-05 07:44:03 +0000 |
| commit | 51edf7af1a0eee6ddfe22e62d846abeb8c43bcc3 (patch) | |
| tree | a9adf83e6875dcc2748eba71b25dde1a8fa3f38f /frontends/php/include | |
| parent | 07cfbfcc8ce3fae0a51f335ab0bcfadf133473e9 (diff) | |
| download | zabbix-51edf7af1a0eee6ddfe22e62d846abeb8c43bcc3.tar.gz zabbix-51edf7af1a0eee6ddfe22e62d846abeb8c43bcc3.tar.xz zabbix-51edf7af1a0eee6ddfe22e62d846abeb8c43bcc3.zip | |
- added non-persistent connection for PostgreSQL to avoid problems with unfinished transactions (Alexei)
[svn merge -r4433:4435 svn://svn.zabbix.com/branches/1.4.2]
git-svn-id: svn://svn.zabbix.com/trunk@4436 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/db.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php index 2185f54e..a55254a9 100644 --- a/frontends/php/include/db.inc.php +++ b/frontends/php/include/db.inc.php @@ -65,7 +65,7 @@ ( !empty($DB_PASSWORD) ? 'password=\''.$DB_PASSWORD.'\' ' : ''). ( !empty($DB_PORT) ? 'port='.$DB_PORT : ''); - $DB=pg_pconnect($pg_connection_string); + $DB=pg_connect($pg_connection_string); if(!$DB) { $error = 'Error connecting to database'; |
