aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-04-20 18:04:43 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-04-20 18:04:43 +0000
commitf13453056625e480857bcf144144ab751c699523 (patch)
tree98d98025349dcea98801c9ef5f1950949aded251 /phpBB/install/install.php
parenta78e6a15af8a42e8557c816ec10f82991a8f326f (diff)
downloadforums-f13453056625e480857bcf144144ab751c699523.tar
forums-f13453056625e480857bcf144144ab751c699523.tar.gz
forums-f13453056625e480857bcf144144ab751c699523.tar.bz2
forums-f13453056625e480857bcf144144ab751c699523.tar.xz
forums-f13453056625e480857bcf144144ab751c699523.zip
- re-added emotion column. ;)
- postgresql schema fix git-svn-id: file:///svn/phpbb/trunk@5125 89ea8834-ac86-4346-8a33-228a782c2dd0
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);