Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

PostgreSQL 7.x pg_dump command line options fix

  • Loading branch information...
commit ef03a260e557fdaa8566b72fbca612703b692147 1 parent b2b97d6
patrickslee authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  admin/utfdbmigrate.php
2  admin/utfdbmigrate.php
@@ -199,7 +199,7 @@ function db_migrate2utf8(){ //Eloy: Perhaps some type of limit parameter here
199 199 } else {
200 200 $cluster = '';
201 201 }
202   - $cmd = "PGPASSWORD={$CFG->dbpass} pg_dump -Fp -E 'UNICODE' -O -x -U {$CFG->dbuser}$cluster";
  202 + $cmd = "PGPASSWORD={$CFG->dbpass} PGCLIENTENCODING='UNICODE' pg_dump -Fp -O -x -U {$CFG->dbuser}$cluster";
203 203 if ($CFG->dbhost) {
204 204 $host = split(":", $CFG->dbhost);
205 205 if ($host[0]) $cmd .= " -h {$host[0]}";

0 comments on commit ef03a26

Please sign in to comment.
Something went wrong with that request. Please try again.