Revision 14250
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
2105 | 2105 |
|
2106 | 2106 |
|
2107 | 2107 |
-- |
2108 |
-- Name: derived_cols_update(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
2109 |
-- |
|
2110 |
|
|
2111 |
CREATE FUNCTION derived_cols_update(table_ regclass) RETURNS void |
|
2112 |
LANGUAGE sql |
|
2113 |
AS $$ |
|
2114 |
SELECT util.derived_col_update(def.col) FROM util.derived_col_defs(table_) def; |
|
2115 |
SELECT NULL::void; -- don't fold away functions called in previous query |
|
2116 |
$$; |
|
2117 |
|
|
2118 |
|
|
2119 |
-- |
|
2108 | 2120 |
-- Name: diff(regclass, regclass, anyelement); Type: FUNCTION; Schema: util; Owner: - |
2109 | 2121 |
-- |
2110 | 2122 |
|
Also available in: Unified diff
schemas/util.sql: added derived_cols_update()