From 06c3d10556726e1d822e5993ce8aaa74ce689f58 Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 7 Oct 2008 19:11:06 +0000 Subject: - fix for postgresql --- bin/dumpschema.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/dumpschema.php b/bin/dumpschema.php index 9c9c7b81b..da82f7392 100644 --- a/bin/dumpschema.php +++ b/bin/dumpschema.php @@ -44,12 +44,15 @@ $options = array( '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'); -- cgit v1.2.3