Re: Christian Ehrhardt 2017-07-13 
<caatjj0koqjmidvumgv2nerbebsbttopc-xauvuttus36atw...@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

_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to