Currently, using sqlx with pq you are able to exec the contents of a SQL file http://godoc.org/github.com/jmoiron/sqlx#LoadFile This would be a great feature for this driver.