Revision 12664
Added by Aaron Marcuse-Kubitza almost 11 years ago
util.sql | ||
---|---|---|
3655 | 3655 |
|
3656 | 3656 |
|
3657 | 3657 |
-- |
3658 |
-- Name: to_freq(regclass, boolean); Type: FUNCTION; Schema: util; Owner: - |
|
3659 |
-- |
|
3660 |
|
|
3661 |
CREATE FUNCTION to_freq(table_ regclass, drop_if_always_1 boolean) RETURNS void |
|
3662 |
LANGUAGE sql |
|
3663 |
AS $_$ |
|
3664 |
SELECT util.to_freq($1); |
|
3665 |
SELECT util.auto_rm_freq(ARRAY[$1]); |
|
3666 |
$_$; |
|
3667 |
|
|
3668 |
|
|
3669 |
-- |
|
3670 | 3658 |
-- Name: to_global_col_names(regclass); Type: FUNCTION; Schema: util; Owner: - |
3671 | 3659 |
-- |
3672 | 3660 |
|
Also available in: Unified diff
schemas/util.sql: removed no longer used to_freq(regclass, drop_if_always_1). use to_freq(regclass) and auto_rm_freq() instead.