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

Christoph Berg myon at debian.org
Sat Oct 7 15:34:15 UTC 2017


Re: Karsten Hilbert 2017-10-07 <20171007152609.i4m5zc6yuol4jsdb at 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 exited
with status 0. (Yes this function isn't the most pretty one. I'm
inclined to rewrite the whole psql handling from scratch...)

Christoph



More information about the Pkg-postgresql-public mailing list