Issues After Uninstalling PSQL on Windows
When you uninstall PSQL using Programs and Features in Windows, you should not have any database engine files remaining on your system. However, some actions such as restoring archived components can cause a significant number of files to be left on your system. This is a side effect of how the installation process works with the Windows operating system.
In the situations described previously, the files are left because Windows has the files marked with usage counts that indicate that they are being used by more than one program, and therefore the uninstallation program does not remove them from your system. This is expected behavior, but it may lead you to conclude that the PSQL uninstall program is not functioning correctly.