bug #351839 by Alex_Tutubalin: more PostgreSQL compatibility fixes (install and deleting subscriptions)