DDL - Refactor DDL for Postgres and YugabyteDB to just create a default partition table

Removes the need and use of  PostgresPlatform.tablePartitionsExist() and PostgresPlatform.tablePartitionInit() altogether.
This commit is contained in:
Rob Bygrave
2022-06-14 16:00:54 +12:00
parent 06ad2edfc1
commit 403556d8b2
8 changed files with 16 additions and 112 deletions
@@ -802,20 +802,6 @@ public class DatabasePlatform {
}
}
/**
* Return true if partitions exist for the given table.
*/
public boolean tablePartitionsExist(Connection connection, String table) throws SQLException {
return true;
}
/**
* Return the SQL to create an initial partition for the given table.
*/
public String tablePartitionInit(String tableName, PartitionMode mode) {
return null;
}
/**
* Escapes the like string for this DB-Platform
*/