Revision 14479
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
1696 | 1696 |
|
1697 | 1697 |
|
1698 | 1698 |
-- |
1699 |
-- Name: copy_comment(regclass, regclass); Type: FUNCTION; Schema: util; Owner: - |
|
1700 |
-- |
|
1701 |
|
|
1702 |
CREATE FUNCTION copy_comment(from_ regclass, to_ regclass) RETURNS void |
|
1703 |
LANGUAGE sql |
|
1704 |
AS $$ |
|
1705 |
SELECT util.set_comment(to_, util.comment(from_)) |
|
1706 |
$$; |
|
1707 |
|
|
1708 |
|
|
1709 |
-- |
|
1699 | 1710 |
-- Name: copy_data(regclass, regclass); Type: FUNCTION; Schema: util; Owner: - |
1700 | 1711 |
-- |
1701 | 1712 |
|
Also available in: Unified diff
schemas/util.sql: added copy_comment(regclass, regclass)