Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to automatically create a database after a postgres one click install (from Enterprise DB)?

share|improve this question
You could use the ZIP distribution, unzip it and then call initdb to create the database and pg_ctl register to install the Windows service (if needed). – a_horse_with_no_name Mar 14 '13 at 8:46
up vote 0 down vote accepted

It doesn't look like the one-click installer does this directly (see but if you are calling this from another installer, you could start up the db afterwards and call createdb on it.

I assume you are trying to install from an installer for another program. if so that's how I would do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.