summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-17 14:29:08 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 16:59:01 +0000
commit92ce4806cd4e9029cb5aaf96abbb51d6e9442c1c (patch)
treebf9f25d22ba90a23d5fc5f24b41aa3d54cccf948 /dgit
parent72af31c44be4394c53727f857abee6f58c1b221e (diff)
sshpsql archive query method passes LANG=C. Closes:#729788.
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 2a5e26b..088f5d2 100755
--- a/dgit
+++ b/dgit
@@ -655,7 +655,7 @@ sub sshpsql ($$) {
my ($userhost,$dbname) = ($`,$'); #';
my @rows;
my @cmd = (access_cfg_ssh, $userhost,
- shellquote qw(psql -A), $dbname, qw(-c), $sql);
+ "export LANG=C; ".shellquote qw(psql -A), $dbname, qw(-c), $sql);
printcmd(\*DEBUG,$debugprefix."|",@cmd) if $debug>0;
open P, "-|", @cmd or die $!;
while (<P>) {