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

Commit115dc68

Browse files
committed
disable_partitioning() bugfix
1 parent96fa7c3 commit115dc68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎init.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ CREATE OR REPLACE FUNCTION @extschema@.disable_partitioning(IN relation TEXT)
120120
RETURNS VOIDAS
121121
$$
122122
DECLARE
123-
parttypeINTEGER;
123+
v_parttypeINTEGER;
124124
BEGIN
125125
relation := @extschema@.validate_relname(relation);
126-
parttype := parttypeFROM pathman_configWHERE relname= relation;
126+
v_parttype := parttypeFROM pathman_configWHERE relname= relation;
127127

128128
DELETEFROM @extschema@.pathman_configWHERE relname= relation;
129-
IFparttype=1 THEN
129+
IFv_parttype=1 THEN
130130
PERFORM @extschema@.drop_hash_triggers(relation);
131-
ELSIFparttype=2 THEN
131+
ELSIFv_parttype=2 THEN
132132
PERFORM @extschema@.drop_range_triggers(relation);
133133
END IF;
134134

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp