Skip to content
Snippets Groups Projects
Commit 07e777a6 authored by jakubs's avatar jakubs
Browse files

LMS-2808: add join_collapse limit to create database script

SVN: 24506
parent 9f56c6c9
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,9 @@ public class PostgreSQLAdminDAO extends AbstractDatabaseAdminDAO ...@@ -50,7 +50,9 @@ public class PostgreSQLAdminDAO extends AbstractDatabaseAdminDAO
private static final String CREATE_DATABASE_SQL_TEMPLATE = private static final String CREATE_DATABASE_SQL_TEMPLATE =
"create database %1$s with owner = \"%2$s\" encoding = 'utf8' template = template0 tablespace = pg_default; " "create database %1$s with owner = \"%2$s\" encoding = 'utf8' template = template0 tablespace = pg_default; "
+ "alter database %1$s set default_with_oids = off;"; + "alter database %1$s set default_with_oids = off; "
+ "alter database %1$s set join_collapse_limit = '32'; "
+ "alter database %1$s set from_collapse_limit = '32'; ";
private static final String CREATE_PLPGSQL = "create language plpgsql;"; private static final String CREATE_PLPGSQL = "create language plpgsql;";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment