Package: postgresql Version: 11+200+deb10u1 Severity: grave Justification: causes non-serious data loss
Dear Maintainer, After updating to Debian Buster and postgresql 11 I purged all postgresql 9.6 packages. Because of this all databases that were in the data directory specified unser data_directory to be deleted without any warning. This is not what I expected to happen and lead to data loss. Apt help message and man page says only that config files are removed, what I wanted to happen, but says nothing about data. When purging other packages like mysql-server/mariadb-server the user is asked whether he wants data to be removed or not. I made an update of MariaDB and other server software some time ago and got that question, so I expected PostgreSQL to also show it to me, but that didn't happen. If it is normal behaviour for packages to remove data when purged, I think that it should be clearly stated in the help and man. Since it isn't and other packages don't do that, I think that it is a very serious issue with the postgresql package. Michel Le Bihan -- System Information: Debian Release: 10.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-7-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages postgresql depends on: ii postgresql-11 11.4-1 postgresql recommends no packages. Versions of packages postgresql suggests: pn postgresql-doc <none> -- no debconf information