[Pkg-postgresql-public] Bug#868232: Bug#868232: lost (unintentionally) unconditional pg_updatedicts on postinst
Christoph Berg
myon at debian.org
Thu Jul 13 12:15:33 UTC 2017
Re: Christian Ehrhardt 2017-07-13 <CAATJJ0KoqjMiDvuMgv2nerbEbsbtTOPc-XauvutTus36AtWYSQ at mail.gmail.com>
> The reason is the dropping of the following statement that was considered
> to be no more needed:
> if dpkg --compare-versions "$2" lt 94; then
> pg_updatedicts || true
> fi
>
> I agree version 94 is long ago.
> But since then, due to a mistake, this always was an unconditional
> pg_updatedicts call on first install.
Good analysis, thanks!
> Ok, long story short - we should make sure the base directory is created
> correctly on postinst.
> Therefor I suggest really adding an unconditional pg_updatedicts in there.
> The postrm already has the matching rm to clean the dir up btw.
Makes sense I think. Will have a look at it later.
Christoph
More information about the Pkg-postgresql-public
mailing list