Read the PostgreSQL documentation (User's Guide I think). It has instructions on how to get it running on Win32.