Instructions for removing PostgreSQL
If there are problems
during the creation of the database, if you can't connect to
"Localhost", if an older version prior to 8.3 is installed or if
other mistakes appear which are traced back to PostgreSQL, it's often the best
option to get rid of everything and completely remove PostgreSQL from the
computer, and to then reinstall it from scratch with an Elephant installation.
Please carry out both uninstall instructions (Vista, XP) exactly as they are described here!
For the Vista Operating System:
Prerequisite: Hidden files are shown (see end of Vista instruction), Postgres is installed under c:program filespostgres and the user is called "postgres".
1) Start → Control Panel → Software → Postgres / right mouse click uninstall
2) Click on Start button, enter "cmd" in the search box, right click the search entry on top, execute as admin
In the DOS input window type the following:
"net user postgres /del"
3) In the Explorer under c:Documents and Settings completely remove the Postgres folder
4) Under c:Program FilesPostgres remove the complete Postgres folder
Empty Trash, reboot, done
To show hidden files:
Click on Start → Control Panel → "Folder Options..." Click on the tab "View".
Remove the check mark for "Hide protected operating system files (Recommended)", confirm with "YES".
Check the box "Show hidden files and folders"
Remove the check mark for "Hide extensions for known file types"
Pick OK. Done.
http://www.pokerstrategy.com/forum/thread.php?threadid=15630
For the Windows XP Operating System:
Uninstall instruction for PostgreSQL:
1) First of uninstall PostgreSQL normally via Control Panel → Add or Remove Software
PostgreSQL does not delete every files and folders with a deinstallation, as it isn't foreseeable if they are still needed. If you no longer want to use PostgreSQL, you can also delete the following folders and entries:
2) The folder with the database: "Program FilesPostgreSQL8.xdata"
3) The Windows user under which the database server was started. Usually it's called "postgres". To delete in the Control Panel → Administrative Tools → Computer Management → Local Users and Groups → Users
If you don't have this option... Alternative:
Click on Start button → Run... and enter "cmd".
In the DOS input window enter the following (if the created user is called "Postgres"):
"net user postgres /del"
4) Delete the folder of the Windows user "Documents and Settingspostgres"
5) Delete the folder "Documents and Settings%USER%Application Datapostgresql"
The easiest way to find the folders you have to remove is to use the Windows Search feature and search for "postgre*". To delete the folders and settings, it is necessary to have an account with full rights, like e.g. the Windows Administrator one.
Please carry out both uninstall instructions (Vista, XP) exactly as they are described here!
For the Vista Operating System:
Prerequisite: Hidden files are shown (see end of Vista instruction), Postgres is installed under c:program filespostgres and the user is called "postgres".
1) Start → Control Panel → Software → Postgres / right mouse click uninstall
2) Click on Start button, enter "cmd" in the search box, right click the search entry on top, execute as admin
In the DOS input window type the following:
"net user postgres /del"
3) In the Explorer under c:Documents and Settings completely remove the Postgres folder
4) Under c:Program FilesPostgres remove the complete Postgres folder
Empty Trash, reboot, done
To show hidden files:
Click on Start → Control Panel → "Folder Options..." Click on the tab "View".
Remove the check mark for "Hide protected operating system files (Recommended)", confirm with "YES".
Check the box "Show hidden files and folders"
Remove the check mark for "Hide extensions for known file types"
Pick OK. Done.
http://www.pokerstrategy.com/forum/thread.php?threadid=15630
For the Windows XP Operating System:
Uninstall instruction for PostgreSQL:
1) First of uninstall PostgreSQL normally via Control Panel → Add or Remove Software
PostgreSQL does not delete every files and folders with a deinstallation, as it isn't foreseeable if they are still needed. If you no longer want to use PostgreSQL, you can also delete the following folders and entries:
2) The folder with the database: "Program FilesPostgreSQL8.xdata"
3) The Windows user under which the database server was started. Usually it's called "postgres". To delete in the Control Panel → Administrative Tools → Computer Management → Local Users and Groups → Users
If you don't have this option... Alternative:
Click on Start button → Run... and enter "cmd".
In the DOS input window enter the following (if the created user is called "Postgres"):
"net user postgres /del"
4) Delete the folder of the Windows user "Documents and Settingspostgres"
5) Delete the folder "Documents and Settings%USER%Application Datapostgresql"
The easiest way to find the folders you have to remove is to use the Windows Search feature and search for "postgre*". To delete the folders and settings, it is necessary to have an account with full rights, like e.g. the Windows Administrator one.
http://www.pokerstrategy.com/forum/thread.php?threadid=15630

