We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent96fa7c3 commit115dc68Copy full SHA for 115dc68
init.sql
@@ -120,15 +120,15 @@ CREATE OR REPLACE FUNCTION @extschema@.disable_partitioning(IN relation TEXT)
120
RETURNS VOIDAS
121
$$
122
DECLARE
123
-parttypeINTEGER;
+v_parttypeINTEGER;
124
BEGIN
125
relation := @extschema@.validate_relname(relation);
126
-parttype := parttypeFROM pathman_configWHERE relname= relation;
+v_parttype := parttypeFROM pathman_configWHERE relname= relation;
127
128
DELETEFROM @extschema@.pathman_configWHERE relname= relation;
129
-IFparttype=1 THEN
+IFv_parttype=1 THEN
130
PERFORM @extschema@.drop_hash_triggers(relation);
131
-ELSIFparttype=2 THEN
+ELSIFv_parttype=2 THEN
132
PERFORM @extschema@.drop_range_triggers(relation);
133
END IF;
134