aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/postgres.php
diff options
context:
space:
mode:
authorn-aleha <nick_aleha@myway.com>2014-07-07 23:10:18 +0300
committern-aleha <nick_aleha@myway.com>2014-07-07 23:10:18 +0300
commitb08497f66c6008dc9bf178e7479435a860f12f9f (patch)
tree5a6c2cd055c5a2b914c4a5613ee053739a7f8bd2 /phpBB/phpbb/db/driver/postgres.php
parent80f8c550f9c4bdc393a673c402c846c1f8de0bb9 (diff)
downloadforums-b08497f66c6008dc9bf178e7479435a860f12f9f.tar
forums-b08497f66c6008dc9bf178e7479435a860f12f9f.tar.gz
forums-b08497f66c6008dc9bf178e7479435a860f12f9f.tar.bz2
forums-b08497f66c6008dc9bf178e7479435a860f12f9f.tar.xz
forums-b08497f66c6008dc9bf178e7479435a860f12f9f.zip
[ticket/12829] Remove check for pgsql 8.3/8.2
Remove check for pgsql 8.3/8.2 and set multi_insert to true. PHPBB3-12829
Diffstat (limited to 'phpBB/phpbb/db/driver/postgres.php')
-rw-r--r--phpBB/phpbb/db/driver/postgres.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/phpbb/db/driver/postgres.php b/phpBB/phpbb/db/driver/postgres.php
index a67cd9f7c2..83e9fa51f6 100644
--- a/phpBB/phpbb/db/driver/postgres.php
+++ b/phpBB/phpbb/db/driver/postgres.php
@@ -15,10 +15,11 @@ namespace phpbb\db\driver;
/**
* PostgreSQL Database Abstraction Layer
-* Minimum Requirement is Version 7.3+
+* Minimum Requirement is Version 8.3+
*/
class postgres extends \phpbb\db\driver\driver
{
+ var $multi_insert = true;
var $last_query_text = '';
var $connect_error = '';
@@ -101,11 +102,6 @@ class postgres extends \phpbb\db\driver\driver
if ($this->db_connect_id)
{
- if (version_compare($this->sql_server_info(true), '8.2', '>='))
- {
- $this->multi_insert = true;
- }
-
if ($schema !== '')
{
@pg_query($this->db_connect_id, 'SET search_path TO ' . $schema);