Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PostgreSQL 7.x pg_dump command line options fix

  • Loading branch information...
commit ef03a260e557fdaa8566b72fbca612703b692147 1 parent b2b97d6
patrickslee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/utfdbmigrate.php
View
2  admin/utfdbmigrate.php
@@ -199,7 +199,7 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here
} else {
$cluster = '';
}
- $cmd = "PGPASSWORD={$CFG->dbpass} pg_dump -Fp -E 'UNICODE' -O -x -U {$CFG->dbuser}$cluster";
+ $cmd = "PGPASSWORD={$CFG->dbpass} PGCLIENTENCODING='UNICODE' pg_dump -Fp -O -x -U {$CFG->dbuser}$cluster";
if ($CFG->dbhost) {
$host = split(":", $CFG->dbhost);
if ($host[0]) $cmd .= " -h {$host[0]}";
Please sign in to comment.
Something went wrong with that request. Please try again.