Control: reassign -1 postgresql-9.6
Control: severity -1 important

Re: Erik Thiele 2019-03-02 
<20190302083405.5ae34...@goofy.ad.thiele-hydraulik.de>
> Here are the arguments I have against cleaning up the actual cluster
> files when --purge postgresql
> 
> a) Compare postgresql to samba or nfs-kernel-server. When purging these
> packages, the files on the filesystem which the server was serving will
> certainly not be removed. But on postgresql they are.

These merely export a possibly pre-existing filesystem. In the PG
case, the contents got added via the package itself. But this is a
very gray area, yes.

> I am sure I am not the only one who fell in this --purge trap. To say
> it again, of course it is my own fault, but still I think that the
> package should not delete the cluster on --purge. Please rethink that
> decision.

This has already been fixed for postgresql-11 which will be shipped
with buster. The user will be prompted if they want to remove clusters
on purge. (If Debconf is not available, the default answer is still to
purge them.) I'll see to get the fix backported to 9.6 in stretch with
the next (PG or Debian) point release.

Christoph

Reply via email to