|
63 | 63 | DROP FUNCTION @ [email protected]_hash_partitions(REGCLASS, TEXT, INTEGER, BOOLEAN);
|
64 | 64 | DROP FUNCTION @ [email protected]_hash_partitions_internal(REGCLASS, TEXT, INTEGER);
|
65 | 65 | DROP FUNCTION @ [email protected]_range_condition( TEXT, ANYELEMENT, ANYELEMENT);
|
66 |
| -DROP FUNCTION @ [email protected]_foreign_keys(REGCLASS, REGCLASS); |
67 |
| -DROP FUNCTION @ [email protected]_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE, ANYELEMENT, ANYELEMENT); |
68 |
| -DROP FUNCTION @ [email protected]_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE); |
69 | 66 | DROP FUNCTION @ [email protected]_range_partition(REGCLASS, ANYELEMENT, TEXT, TEXT, OUT ANYARRAY);
|
70 | 67 | DROP FUNCTION @ [email protected]_range_partition(REGCLASS, BOOLEAN);
|
71 | 68 | DROP FUNCTION @ [email protected]_range_partition(REGCLASS, REGCLASS, ANYELEMENT, ANYELEMENT);
|
72 | 69 | DROP FUNCTION @ [email protected]_range_partition(REGCLASS);
|
| 70 | +DROP FUNCTION @ [email protected]_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 @ [email protected]_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 | 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