Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity) (#1921)

* Split Postgres platform into Postgres10 & Postgres9

- Use "generated by default as identity" for Postgres10 identity columns

* Add postgres9 migrationtest resources

* Set default back to h2

* Add postgres10 migration test resources
This commit is contained in:
Rob Bygrave
2020-02-22 09:18:05 +13:00
committed by GitHub
parent b24f093bbb
commit 2314fd267f
53 changed files with 2274 additions and 577 deletions
@@ -23,9 +23,7 @@ public class TestQueryForUpdate extends BaseTestCase {
@Test
@ForPlatform({
Platform.H2, Platform.ORACLE, Platform.POSTGRES, Platform.SQLSERVER, Platform.MYSQL
})
@ForPlatform({Platform.H2, Platform.ORACLE, Platform.POSTGRES, Platform.SQLSERVER, Platform.MYSQL})
public void testForUpdate() {
ResetBasicData.reset();
@@ -43,9 +41,7 @@ public class TestQueryForUpdate extends BaseTestCase {
}
@Test
@ForPlatform({
Platform.H2, Platform.ORACLE, Platform.POSTGRES, Platform.SQLSERVER, Platform.MYSQL
})
@ForPlatform({ Platform.H2, Platform.ORACLE, Platform.POSTGRES, Platform.SQLSERVER, Platform.MYSQL})
public void testForUpdate_when_alreadyInPC() {
EBasic basic = new EBasic("test PC cache");
@@ -79,9 +75,7 @@ public class TestQueryForUpdate extends BaseTestCase {
}
@Test
@ForPlatform({
Platform.H2, Platform.POSTGRES, Platform.SQLSERVER, Platform.ORACLE
})
@ForPlatform({Platform.H2, Platform.POSTGRES, Platform.SQLSERVER, Platform.ORACLE})
public void testForUpdate_noWait_noMaxRows() {
ResetBasicData.reset();
@@ -103,9 +97,7 @@ public class TestQueryForUpdate extends BaseTestCase {
}
@Test
@ForPlatform({
Platform.H2, Platform.POSTGRES, Platform.SQLSERVER
})
@ForPlatform({Platform.H2, Platform.POSTGRES, Platform.SQLSERVER})
public void testForUpdate_noWait() {
ResetBasicData.reset();