On Mon, 2005-04-18 at 14:23, ElayaRaja S wrote:
> Hi,
> I am using Redhat Linux 9, I need to uninstall postfesql 7.3.2 and
> i have to install postgresql 7.4.5. Plz let me know how to uninstall
> completely - postgesql 7.3.2
>
> I am getting as [root@set root]# rpm -e postgresql
> error: package postgresql is not installed
>
> if i try to check the version it was displaying
> [root@set root]# postgres --version
> postgres (PostgreSQL) 7.3.2
Try this first:
rpm -qa|grep -i postgresql
and see what the output is. Then you can try this:
rpm -e `rpm -qa|grep -i postgresql`
and see if that can uninstall it.
Make sure and run pg_dumpall to get a complete backup of your database
first.