Which installer did you use to set up dotLRN? Most of the ports now should set up PostgreSQL for you, although you may need to restart your computer at some point after the data model has been set up.
Cheers,
Jon