#2701 -[DDL] Postgres DDL generation for table partitioning with schema - helper method to add partitions does not work

This also removes the helper partition_init() stored function as it isn't really needed now that postgres has default partition support (since PG11 actually, partition_init predates PG11).
This commit is contained in:
Rob Bygrave
2022-05-23 20:39:45 +12:00
parent 62106935f4
commit 74b4994221
6 changed files with 52 additions and 63 deletions
@@ -812,7 +812,7 @@ public class DatabasePlatform {
/**
* Return the SQL to create an initial partition for the given table.
*/
public String tablePartitionInit(String tableName, PartitionMode mode, String property, String singlePrimaryKey) {
public String tablePartitionInit(String tableName, PartitionMode mode) {
return null;
}
@@ -63,7 +63,6 @@ public final class SplitName {
}
private static String[] split(String name, boolean last) {
int pos = last ? name.lastIndexOf('.') : name.indexOf('.');
if (pos == -1) {
if (last) {