Issue
After upgrading Postgresql version on Debian, I noticed that the old version of postgres continues to appear.
$ systemctl | grep postgresql
[email protected] loaded failed failed PostgreSQL Cluster oldversion-main
[email protected] loaded active running PostgreSQL Cluster newversion-main
How can I remove "oldversion"?
PS. I've already removed "oldversion" using apt-get remove
Thanks
Solution
I've faced the same problem after upgrading from 9.4 to 9.6 from jessie-backports. You only have to reset the failed state of the 9.4 cluster:
# systemctl reset-failed
Answered By - ortegaga