Search: Advanced search
Please enter a keyword or ID
When you uninstall Surround SCM, PostgreSQL is not removed. Following are instructions for uninstalling PostgreSQL and manually removing database files and the postgres user account and group.
Use the uninstaller to remove PostgreSQL.
The default directory for PostgreSQL data files is C:\Program Files\PostgreSQL\Version#\Data. Manually delete this directory to remove the files. Use Computer Management to remove the PostgreSQL user account.
The default directory for PostgreSQL is /usr/local/pgsql. To uninstall PostgreSQL, manually delete the PostgreSQL folder from the default directory. To delete the database files, manually delete the Data folder from the default directory.
You can also use the following command to uninstall PostgreSQL and delete the database directories at the same time:
To remove the PostgreSQL user account on Linux, use the following command:
To remove the PostgreSQL user account on Mac OS X, use the following command:
A postgres group is also installed with PostgreSQL on Mac OS X. Use the following command to remove the postgres group:
Note: You must have the Mac root account enabled to remove the postgres user and group.