Finally working version for postgres:create