Re: Karsten Hilbert 2017-10-07
<[email protected]>
> root@hermes:/usr/share/perl5# pg_upgradecluster 9.6 main
> de_DE.UTF-8 / de_DE.UTF-8
> Error: could not get cluster locales
Hmm. At least the uninitialized value warning is gone now.
> I also added a print statement:
>
> chomp $ctype;
> chomp $collate;
> print STDERR "$ctype / $collate\n";
> return ($ctype, $collate) unless $?;
> return (undef, undef);
>
> which produces the
>
> de_DE.UTF-8 / de_DE.UTF-8
I wonder why $? is non-zero even if the $collate extraction worked.
Can you check if the upgrade works properly if you remove the
"unless"?
chomp $ctype;
chomp $collate;
print STDERR "$ctype / $collate\n";
return ($ctype, $collate);
Christoph
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public