Revision 14341
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1685 | 1685 |
|
1686 | 1686 |
|
1687 | 1687 |
-- |
1688 |
-- Name: copy_types_and_data(regclass, text); Type: FUNCTION; Schema: util; Owner: - |
|
1689 |
-- |
|
1690 |
|
|
1691 |
CREATE FUNCTION copy_types_and_data(from_ regclass, to_ text) RETURNS void |
|
1692 |
LANGUAGE sql |
|
1693 |
AS $_$ |
|
1694 |
SELECT util.materialize_view($2, $1) |
|
1695 |
$_$; |
|
1696 |
|
|
1697 |
|
|
1698 |
-- |
|
1699 | 1688 |
-- Name: create_if_not_exists(text, text); Type: FUNCTION; Schema: util; Owner: - |
1700 | 1689 |
-- |
1701 | 1690 |
|
Also available in: Unified diff
schemas/util.sql: removed no longer used copy_types_and_data(). use util.materialize_view() instead.