Added support for external Postgres servers
Merge branch 'ulope-master'