Change installer to use postgres.

Note that more changes are likely needed to get installer back to fully working
using postgres.