Project

General

Profile

« Previous | Next » 

Revision 12342

bugfix: schemas/util.sql: drop_relation(): need to pass force param to util.drop_*()

View differences:

trunk/schemas/util.sql
1053 1053
    LANGUAGE sql
1054 1054
    AS $_$
1055 1055
SELECT (CASE
1056
WHEN util.is_table($1) THEN util.drop_table($1::text)
1057
WHEN util.is_view($1)  THEN util.drop_view($1::text)
1056
WHEN util.is_table($1) THEN util.drop_table($1::text, $2)
1057
WHEN util.is_view($1)  THEN util.drop_view ($1::text, $2)
1058 1058
-- otherwise, throw case_not_found error
1059 1059
END)
1060 1060
$_$;

Also available in: Unified diff