Postgres can be removed buy un-installing it and then removing the data directory.
- Preferred Method:
- Go to Setup->Settings->Control Panel->Add/Remove Programs
- Find the line that refers to your Postgres installation
- Use the remove option
- Delete the C:\Program Files\PostgreSQL folder to remove your database. (Note: it could be on another drive)
- Secondary Method:
- Run the PostGres installer and 'uninstall' the database first, and then run the install process -and/or-
- Delete the C:\Program Files\PostgreSQL folder, (Note: it could be on another drive) -and/or-
- Remove the 'postgres' user from you list of users using the admin tools -and/or-
- make sure that the PostGres server is not running as a service and has been removed using RegEdit