[bugfix] pg db:create does not work
[bugfix] pg db:create does not work

A wrong quotation in the pg driver caused db:create to throw an exception. Also we need to check if the close method gets an function passed as callback, before actually calling it.

resolves https://github.com/db-migrate/node-db-migrate/issues/307

db-migrate/pg