#!/bin/sh
#
# Disable and stop the PostgreSQL server
#

[ -x /etc/init.d/postgresql ] && {
     /etc/init.d/postgresql disable > /dev/null 2>&1
     /etc/init.d/postgresql stop > /dev/null 2>&1
}

[ -x /usr/bin/doctool ] && {
    /usr/bin/doctool --remove UWDeveloper/PostgresqlDoc.desktop > /dev/null 2>&1
}

exit 0
