producing database for postgres using tool sequence now instead of adhoc