summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcube_mdb2.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-07 19:18:14 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-07 19:18:14 +0000
commit33b2b66ecb67f681cf7d83ae4570168c3fe36b4d (patch)
tree4a69728c233b6c53de9e9d5a6ce666cd88216b6e /roundcubemail/program/include/rcube_mdb2.php
parent3ec144d0ef0391bd959b5f4b39b725a0f68472e6 (diff)
- better postgresql sequence names handling
git-svn-id: https://svn.roundcube.net/trunk@1956 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_mdb2.php')
-rw-r--r--roundcubemail/program/include/rcube_mdb2.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_mdb2.php b/roundcubemail/program/include/rcube_mdb2.php
index 0588256e7..2deaa416d 100644
--- a/roundcubemail/program/include/rcube_mdb2.php
+++ b/roundcubemail/program/include/rcube_mdb2.php
@@ -83,6 +83,8 @@ class rcube_mdb2
'emulate_prepared' => $this->debug_mode,
'debug' => $this->debug_mode,
'debug_handler' => 'mdb2_debug_handler',
+ 'disable_smart_seqname' => true, // for postgresql
+ 'seqname_format' => '%s', // for postgresql
'portability' => MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_EMPTY_TO_NULL));
if (MDB2::isError($dbh))