summaryrefslogtreecommitdiff
path: root/bin/dumpschema.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-07 19:11:06 +0000
committeralecpl <alec@alec.pl>2008-10-07 19:11:06 +0000
commit06c3d10556726e1d822e5993ce8aaa74ce689f58 (patch)
treec3b87dfbc2eb7c7e4d526deece59735d779263a8 /bin/dumpschema.php
parent155bbb8df6332bc6a9b629f62d1725840f8d89ea (diff)
- fix for postgresql
Diffstat (limited to 'bin/dumpschema.php')
-rw-r--r--bin/dumpschema.php5
1 files changed, 4 insertions, 1 deletions
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');