[postgis-devel] Debian packaging and upgrade
Sandro Santilli
strk at kbt.io
Thu Apr 4 07:22:29 PDT 2019
On Thu, Apr 04, 2019 at 04:13:55PM +0200, Bas Couwenberg wrote:
> On 2019-04-04 16:09, Sandro Santilli wrote:
> > > I consider the symlink hack abhorrent, and personally choose to
> > > reimport my
> > > databases on upgrade as long as pg_upgradecluster doesn't work.
> >
> > It is technically the exactly same think we obtain
> > by dropping the minor number, so if one is abhorrent
> > the other is as well...
>
> They are not technically the same, the symlink hack changes paths managed by
> packages.
>
> When removing the packages but still having the symlink present will prevent
> removal of the directory because it won't be empty.
That's just due to the package themselves NOT doing the symlink
(for example, in a post-upgrade script or something)
Of course the symlink should be temporary and only done for completing
an upgrade.
--strk;
More information about the postgis-devel
mailing list