postgresql - is there something faster than pg_restore?

view story

http://www.linuxquestions.org – Hi! I have created a deployment application. It uses two git repos. One holds the application branches, another the DB branches. On the deployment application you select the application version and DB version and the deployment application grabs both and creates a new environment on the server (it's a web application) and creates a new DB from scratch from the version you selected..... it works like a charm but setting up the DB from the full schema (without data which we are holding on git... data is loaded afterwards and it only takes like 5 seconds) through pg_restore takes too long... no (HowTos)