From af7a23d9d9fb983c4cacb7e4696eba904ecc537e Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 07 Oct 2008 15:18:14 -0400
Subject: [PATCH] - better postgresql sequence names handling

---
 program/include/rcube_mdb2.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/program/include/rcube_mdb2.php b/program/include/rcube_mdb2.php
index 0588256..2deaa41 100644
--- a/program/include/rcube_mdb2.php
+++ b/program/include/rcube_mdb2.php
@@ -83,6 +83,8 @@
         '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))

--
Gitblit v1.9.1