* Fix timeouts on long running operations (Adrian Nida)
* Allow Multiline character and character varying editing and inserting
* Add automatic browser language selection for all languages
+* Fix using schema enabled dump on non-schema enabled backend
Translations
* Japanese from Tadashi Jokagi
* Does an export of a database or a table (via pg_dump)
* to the screen or as a download.
*
- * $Id: dbexport.php,v 1.17 2005/02/09 11:26:24 chriskl Exp $
+ * $Id: dbexport.php,v 1.18 2005/02/24 09:41:59 chriskl Exp $
*/
// Prevent timeouts on large exports
// then..
if (((float) $version[1]) >= 7.4) {
$cmd .= " -t " . $misc->escapeShellArg($_REQUEST['table']);
- $cmd .= " -n " . $misc->escapeShellArg($_REQUEST['schema']);
+ // Even though they're using a schema-enabled pg_dump, the backend database
+ // may not support schemas.
+ if ($data->hasSchemas()) {
+ $cmd .= " -n " . $misc->escapeShellArg($_REQUEST['schema']);
+ }
}
else {
// This is an annoying hack needed to work around a bug in dumping