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

Commit1709c15

Browse files
committed
couple fixes to migration script
1 parent55e44c0 commit1709c15

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

‎pg_pathman--1.1--1.2.sql

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,7 @@ DROP FUNCTION @extschema@.validate_on_partition_created_callback(REGPROC);
2222
DROPFUNCTION @extschema@.get_sequence_name(TEXT,TEXT);
2323
DROPFUNCTION @extschema@.create_single_range_partition(REGCLASS, ANYELEMENT, ANYELEMENT,TEXT,TEXT);
2424
DROPFUNCTION @extschema@.check_overlap(REGCLASS, ANYELEMENT, ANYELEMENT);
25-
DROPFUNCTION @extschema@.split_range_partition(REGCLASS, ANYELEMENT,TEXT, ANYARRAY);
26-
27-
28-
/* ------------------------------------------------------------------------
29-
* Alter tables
30-
* ----------------------------------------------------------------------*/
31-
ALTERTABLE @extschema@.pathman_config_params ADD COLUMN spawn_using_bgwBOOLEANNOT NULL DEFAULT FALSE;
32-
ALTERTABLE @extschema@.pathman_config_params ADDCHECK (@extschema@.validate_part_callback(init_callback));
33-
25+
DROPFUNCTION @extschema@.split_range_partition(REGCLASS, ANYELEMENT,TEXT, OUT ANYARRAY);
3426

3527
/* ------------------------------------------------------------------------
3628
* Alter functions' modifiers
@@ -1271,3 +1263,10 @@ CREATE OR REPLACE FUNCTION @extschema@.check_range_available(
12711263
range_maxANYELEMENT)
12721264
RETURNS VOIDAS'pg_pathman','check_range_available_pl'
12731265
LANGUAGE C;
1266+
1267+
1268+
/* ------------------------------------------------------------------------
1269+
* Alter tables
1270+
* ----------------------------------------------------------------------*/
1271+
ALTERTABLE @extschema@.pathman_config_params ADD COLUMN spawn_using_bgwBOOLEANNOT NULL DEFAULT FALSE;
1272+
ALTERTABLE @extschema@.pathman_config_params ADDCHECK (@extschema@.validate_part_callback(init_callback));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp