@@ -63,13 +63,11 @@ DROP FUNCTION @extschema@.get_attribute_type(REGCLASS, TEXT);
6363DROP FUNCTION @extschema@.create_hash_partitions(REGCLASS, TEXT , INTEGER , BOOLEAN );
6464DROP FUNCTION @extschema@.create_hash_partitions_internal(REGCLASS, TEXT , INTEGER );
6565DROP 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);
6966DROP FUNCTION @extschema@.split_range_partition(REGCLASS, ANYELEMENT, TEXT , TEXT , OUT ANYARRAY);
7067DROP FUNCTION @extschema@.drop_range_partition(REGCLASS, BOOLEAN );
7168DROP FUNCTION @extschema@.attach_range_partition(REGCLASS, REGCLASS, ANYELEMENT, ANYELEMENT);
7269DROP FUNCTION @extschema@.detach_range_partition(REGCLASS);
70+ DROP FUNCTION @extschema@.merge_range_partitions_internal(REGCLASS, REGCLASS, REGCLASS, ANYELEMENT);
7371
7472/* ------------------------------------------------------------------------
7573 * Alter functions' modifiers
@@ -933,7 +931,7 @@ SET pg_pathman.enable_partitionfilter = off;
933931
934932
935933CREATE OR REPLACE FUNCTION @extschema@.drop_range_partition_expand_next(
936- partition REGCLASS)
934+ partition_relid REGCLASS)
937935RETURNS VOID AS ' pg_pathman' , ' drop_range_partition_expand_next'
938936LANGUAGE C STRICT;
939937
@@ -945,3 +943,14 @@ CREATE OR REPLACE FUNCTION @extschema@.build_range_condition(
945943 end_value ANYELEMENT)
946944RETURNS TEXT AS ' pg_pathman' , ' build_range_condition'
947945LANGUAGE 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