aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/install.php')
-rw-r--r--phpBB/install/install.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index c49109c2c0..b9bb36276e 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -1088,8 +1088,12 @@ if ($stage == 3)
$sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', 'SET IDENTITY_INSERT \1 \2', $sql_query);
break;
+ case 'postgres':
+ $sql_query = preg_replace('#\# POSTGRES (BEGIN|COMMIT) \##s', '\1; ', $sql_query);
+ break;
+
default:
- $sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', '', $sql_query);
+ //$sql_query = preg_replace('#\# MSSQL IDENTITY (phpbb_[a-z_]+) (ON|OFF) \##s', '', $sql_query);
}
$sql_query = preg_replace('#phpbb_#', $table_prefix, $sql_query);