Project

General

Profile

« Previous | Next » 

Revision 13097

schemas/util.sql: auto_rm_freq(): use new rm_freq()

View differences:

trunk/schemas/util.sql
686 686
    LANGUAGE sql
687 687
    AS $_$
688 688
SELECT CASE WHEN util.freq_always_1($1, $2)
689
THEN util.drop_column($1, $2, force := true)
689
THEN util.rm_freq($1, $2)
690 690
ELSE util.try_create($$ALTER TABLE $$||util.parent($1[1])||$$ ADD COLUMN $$||quote_ident($2)||$$ bigint NOT NULL$$)
691 691
END
692 692
$_$;

Also available in: Unified diff