From 2beb2045f2e878a73efe68e701f1632530dd95c1 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
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 files changed, 1 insertions(+), 1 deletions(-)

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 @@
 		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;
 	}
 

--
Gitblit v1.9.0-SNAPSHOT