Revision 13096
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
3115 | 3115 |
|
3116 | 3116 |
|
3117 | 3117 |
-- |
3118 |
-- Name: rm_freq(regclass[], text); Type: FUNCTION; Schema: util; Owner: - |
|
3119 |
-- |
|
3120 |
|
|
3121 |
CREATE FUNCTION rm_freq(tables regclass[], freq_col text DEFAULT 'copies'::text) RETURNS void |
|
3122 |
LANGUAGE sql |
|
3123 |
AS $_$ |
|
3124 |
SELECT util.drop_column($1, $2, force := true) |
|
3125 |
$_$; |
|
3126 |
|
|
3127 |
|
|
3128 |
-- |
|
3118 | 3129 |
-- Name: rtrim_n(text, integer); Type: FUNCTION; Schema: util; Owner: - |
3119 | 3130 |
-- |
3120 | 3131 |
|
Also available in: Unified diff
schemas/util.sql: added rm_freq(regclass[])