@@ -63,13 +63,11 @@ DROP FUNCTION @extschema@.get_attribute_type(REGCLASS, TEXT);
63
63
DROP FUNCTION @extschema@.create_hash_partitions(REGCLASS, TEXT , INTEGER , BOOLEAN );
64
64
DROP FUNCTION @extschema@.create_hash_partitions_internal(REGCLASS, TEXT , INTEGER );
65
65
DROP FUNCTION @extschema@.build_range_condition(TEXT , ANYELEMENT, ANYELEMENT);
66
- DROP FUNCTION @extschema@.copy_foreign_keys(REGCLASS, REGCLASS);
67
- DROP FUNCTION @extschema@.invoke_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE, ANYELEMENT, ANYELEMENT);
68
- DROP FUNCTION @extschema@.invoke_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE);
69
66
DROP FUNCTION @extschema@.split_range_partition(REGCLASS, ANYELEMENT, TEXT , TEXT , OUT ANYARRAY);
70
67
DROP FUNCTION @extschema@.drop_range_partition(REGCLASS, BOOLEAN );
71
68
DROP FUNCTION @extschema@.attach_range_partition(REGCLASS, REGCLASS, ANYELEMENT, ANYELEMENT);
72
69
DROP FUNCTION @extschema@.detach_range_partition(REGCLASS);
70
+ DROP FUNCTION @extschema@.merge_range_partitions_internal(REGCLASS, REGCLASS, REGCLASS, ANYELEMENT);
73
71
74
72
/* ------------------------------------------------------------------------
75
73
* Alter functions' modifiers
@@ -933,7 +931,7 @@ SET pg_pathman.enable_partitionfilter = off;
933
931
934
932
935
933
CREATE OR REPLACE FUNCTION @extschema@.drop_range_partition_expand_next(
936
- partition REGCLASS)
934
+ partition_relid REGCLASS)
937
935
RETURNS VOID AS ' pg_pathman' , ' drop_range_partition_expand_next'
938
936
LANGUAGE C STRICT;
939
937
@@ -945,3 +943,14 @@ CREATE OR REPLACE FUNCTION @extschema@.build_range_condition(
945
943
end_value ANYELEMENT)
946
944
RETURNS TEXT AS ' pg_pathman' , ' build_range_condition'
947
945
LANGUAGE C;
946
+
947
+
948
+ /* ------------------------------------------------------------------------
949
+ * Final words of wisdom
950
+ * ----------------------------------------------------------------------*/
951
+ DO language plpgsql
952
+ $$
953
+ BEGIN
954
+ RAISE WARNING ' Don' ' t forget to execute "SET pg_pathman.enable = t" to activate pg_pathman' ;
955
+ END
956
+ $$;
0 commit comments