vrijdag 17 oktober 2008

Install and configure PostgreSQL on Windows

You can download the msi package from their website, run it.

Next you run the following command
initdb -D /path/to/data/location


start the server with
pg_ctl.exe start -D /path/to/data/location


create a new database:
createdb databaseName


now you're ready to acces it:
psql databaseName