role nocreateuser removes in postgres 9.6
This commit is contained in:
parent
b0172a377a
commit
2beb2045f2
@ -22,7 +22,7 @@ public class PgSqlUserProcessorFactory implements EntityProcessorFactory {
|
|||||||
JDBCProcessor aJDBCP = PgSqlDatabaseProcessorFactory.createPostgreSqlAdminProcessor();
|
JDBCProcessor aJDBCP = PgSqlDatabaseProcessorFactory.createPostgreSqlAdminProcessor();
|
||||||
String aName = AbstractEntity.escapeString(dbu.getName());
|
String aName = AbstractEntity.escapeString(dbu.getName());
|
||||||
String aPassword = AbstractEntity.escapeString(dbu.getPassword());
|
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;
|
return aJDBCP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user