Use 6432 for connections from server

This commit is contained in:
Carla
2016-07-19 17:54:08 +02:00
committed by GitHub
parent e7a16f4b4d
commit bfa57f4971

View File

@@ -8,7 +8,7 @@ DECLARE
BEGIN
-- Build connection string
connection_str := '{"server":{"extensions":"postgis", "dbname":"'
|| user_dbname ||'", "host":"' || user_hostname ||'", "port":"5432"}, "users":{"public"'
|| user_dbname ||'", "host":"' || user_hostname ||'", "port":"6432"}, "users":{"public"'
|| ':{"user":"' || username ||'", "password":""} } }';
-- This function tries to be as idempotent as possible, by not creating anything more than once