Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Christoph Berg
Re: Karsten Hilbert 2017-10-07 <20171007154139.bpvnx7477qcyh...@hermes.hilbert.loc> > condition: $? which is 0 which is "FALSE" 0 is a program exit code where 0 is true and everything else is false. So yes, this is inverted logic. Christoph

Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Christoph Berg
Re: Karsten Hilbert 2017-10-07 <20171007152609.i4m5zc6yuol4j...@hermes.hilbert.loc> > > > return ($ctype, $collate) unless $?; > > Actually, isn't this inverted logic ? > > It should return(...) unless $? actually is NOT zero ? The extracted values should be returned if the last psql call

Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Karsten Hilbert
On Sat, Oct 07, 2017 at 04:40:24PM +0200, Christoph Berg wrote: > > return ($ctype, $collate) unless $?; Actually, isn't this inverted logic ? It should return(...) unless $? actually is NOT zero ? PSQL(1) PostgreSQL

Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Christoph Berg
Re: Karsten Hilbert 2017-10-07 <20171007132123.7eqyzz7455f5x...@hermes.hilbert.loc> > 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

Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Karsten Hilbert
On Sat, Oct 07, 2017 at 02:11:14PM +0200, Christoph Berg wrote: > > postgres@hermes:~$ psql -d template1 > > Ausgabeformat ist »wrapped«. > > PgCommon.pm doesn't use 'psql -X' so your (or postgres') .psqlrc might > be getting in the way. Could you try the upgrade again after moving >

Bug#877920: [Pkg-postgresql-public] Bug#877920: postgresql-common: pg_upgradecluster 9.6 -> 10 fails (locale problem)

2017-10-07 Thread Christoph Berg
Re: Karsten Hilbert 2017-10-07 <20171007104018.ax3cv7dwqg4s3...@hermes.hilbert.loc> > Thanks for your response ! Thanks! > postgres@hermes:~$ psql -d template1 > Ausgabeformat ist »wrapped«. PgCommon.pm doesn't use 'psql -X' so your (or postgres') .psqlrc might be getting in the