Revision 14210
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1766 | 1766 |
|
1767 | 1767 |
|
1768 | 1768 |
-- |
1769 |
-- Name: derived_col_expr(col); Type: FUNCTION; Schema: util; Owner: - |
|
1770 |
-- |
|
1771 |
|
|
1772 |
CREATE FUNCTION derived_col_expr(col col) RETURNS text |
|
1773 |
LANGUAGE sql STABLE |
|
1774 |
AS $$ |
|
1775 |
SELECT (col::util.derived_col_def).expr |
|
1776 |
$$; |
|
1777 |
|
|
1778 |
|
|
1779 |
-- |
|
1769 | 1780 |
-- Name: derived_col_expr_from_check_constraint(check_constraint_def); Type: FUNCTION; Schema: util; Owner: - |
1770 | 1781 |
-- |
1771 | 1782 |
|
Also available in: Unified diff
schemas/util.sql: added derived_col_expr(col)