You should download the pokertracker WITH postgres version and it will install everything for you. Just accept all the defaults and you shouldn't have any problems.
If you are using Vista, read this!!
Attn: Vista Users Installing PostgreSQL 8.3If this affects you, see also:
Total uninstall/reinstall of pt3, which takes you through the install step by step (you won't need the uninstall bit).