If PokerTracker 4 still cannot connect to PostgreSQL please send these files to us in a Support Ticket: Next reboot, press/hold the 'Alt/Option' key while starting PokerTracker 4 to enable logging. You want to delete 'postmaster.pid' so answer 'y' if the command finds it.
Substitute the 'x.y' in that command with the correct version. Sudo rm /Library/PostgreSQL/x.y/data/postmaster.pid 'x.y' will be two numbers such as '8.4', '9.0', etc. Have you done something recently to PostgreSQL such as trying to partially uninstall it, changing permissions on any of its folders, shutting down your computer unexpectedly, or maybe deleting the 'postgres' user from your Mac login screen? Do you see PostgreSQL in your Applications folder? Confirm where your PostgreSQL is, probably here: