From 06c3d10556726e1d822e5993ce8aaa74ce689f58 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 07 Oct 2008 15:11:06 -0400 Subject: [PATCH] - fix for postgresql --- bin/dumpschema.php | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/bin/dumpschema.php b/bin/dumpschema.php index 9c9c7b8..da82f73 100644 --- a/bin/dumpschema.php +++ b/bin/dumpschema.php @@ -44,12 +44,15 @@ 'debug' => false, 'quote_identifier' => true, 'force_defaults' => false, - 'portability' => false + 'portability' => false, + 'disable_smart_seqname' => true, + 'seqname_format' => '%s' ); $schema =& MDB2_Schema::factory($config->get('db_dsnw'), $options); $schema->db->supported['transactions'] = false; + // send as text/xml when opened in browser if ($_SERVER['REMOTE_ADDR']) header('Content-Type: text/xml'); -- Gitblit v1.9.1