From 2beb2045f2e878a73efe68e701f1632530dd95c1 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 12 Apr 2018 14:01:21 +0200 Subject: [PATCH] role nocreateuser removes in postgres 9.6 --- hsarback/src/de/hsadmin/mods/db/PgSqlUserProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/db/PgSqlUserProcessorFactory.java b/hsarback/src/de/hsadmin/mods/db/PgSqlUserProcessorFactory.java index a27715f..17e1e7d 100644 --- a/hsarback/src/de/hsadmin/mods/db/PgSqlUserProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/db/PgSqlUserProcessorFactory.java @@ -22,7 +22,7 @@ public class PgSqlUserProcessorFactory implements EntityProcessorFactory { JDBCProcessor aJDBCP = PgSqlDatabaseProcessorFactory.createPostgreSqlAdminProcessor(); String aName = AbstractEntity.escapeString(dbu.getName()); String aPassword = AbstractEntity.escapeString(dbu.getPassword()); - aJDBCP.addSQL("CREATE USER " + aName + " NOCREATEDB NOCREATEUSER" + " ENCRYPTED PASSWORD '" + aPassword + "'"); + aJDBCP.addSQL("CREATE USER " + aName + " NOCREATEDB ENCRYPTED PASSWORD '" + aPassword + "'"); return aJDBCP; }