If you want to have your database(s) on another drive then you can uninstall PostgreSQL from C:\ and then reinstall it on D:\. We currently recommend using PostgreSQL v12 so if you are using an older version you can update to that:
Download PostgreSQLBefore uninstalling PostgreSQL you can backup your poker data and then restore it after reinstalling:
Guide: Backup & RestorePlease note that PostgreSQL requires free space on your disc drive when actioning a database backup and the free space required will need to be around the same size as the database being backed up. If you do not have this you will either need to free up the space required or have Windows use another location for temporary files to complete a backup:
How to Move Windows Temporary Folders to Another DriveAlso bear in mind there will be a performance hit if you are moving your database from a SSD to a HDD.