Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11faec2

Browse files
committed
fix migration script (1.3)
1 parent01d1074 commit11faec2

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

‎pg_pathman--1.2--1.3.sql

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,11 @@ DROP FUNCTION @extschema@.get_attribute_type(REGCLASS, TEXT);
6363
DROPFUNCTION @extschema@.create_hash_partitions(REGCLASS,TEXT,INTEGER,BOOLEAN);
6464
DROPFUNCTION @extschema@.create_hash_partitions_internal(REGCLASS,TEXT,INTEGER);
6565
DROPFUNCTION @extschema@.build_range_condition(TEXT, ANYELEMENT, ANYELEMENT);
66-
DROPFUNCTION @extschema@.copy_foreign_keys(REGCLASS, REGCLASS);
67-
DROPFUNCTION @extschema@.invoke_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE, ANYELEMENT, ANYELEMENT);
68-
DROPFUNCTION @extschema@.invoke_on_partition_created_callback(REGCLASS, REGCLASS, REGPROCEDURE);
6966
DROPFUNCTION @extschema@.split_range_partition(REGCLASS, ANYELEMENT,TEXT,TEXT, OUT ANYARRAY);
7067
DROPFUNCTION @extschema@.drop_range_partition(REGCLASS,BOOLEAN);
7168
DROPFUNCTION @extschema@.attach_range_partition(REGCLASS, REGCLASS, ANYELEMENT, ANYELEMENT);
7269
DROPFUNCTION @extschema@.detach_range_partition(REGCLASS);
70+
DROPFUNCTION @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

935933
CREATEOR REPLACE FUNCTION @extschema@.drop_range_partition_expand_next(
936-
partitionREGCLASS)
934+
partition_relidREGCLASS)
937935
RETURNS VOIDAS'pg_pathman','drop_range_partition_expand_next'
938936
LANGUAGE C STRICT;
939937

@@ -945,3 +943,14 @@ CREATE OR REPLACE FUNCTION @extschema@.build_range_condition(
945943
end_valueANYELEMENT)
946944
RETURNSTEXTAS'pg_pathman','build_range_condition'
947945
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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp