Revision 12302
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
2597 | 2597 |
|
2598 | 2598 |
|
2599 | 2599 |
-- |
2600 |
-- Name: set_comment(regclass, text); Type: FUNCTION; Schema: util; Owner: - |
|
2601 |
-- |
|
2602 |
|
|
2603 |
CREATE FUNCTION set_comment(table_ regclass, comment text) RETURNS void |
|
2604 |
LANGUAGE sql STRICT |
|
2605 |
AS $_$ |
|
2606 |
SELECT util.eval($$COMMENT ON TABLE $$||$1||$$ IS $$||quote_nullable($2)) |
|
2607 |
$_$; |
|
2608 |
|
|
2609 |
|
|
2610 |
-- |
|
2600 | 2611 |
-- Name: show_create_view(regclass); Type: FUNCTION; Schema: util; Owner: - |
2601 | 2612 |
-- |
2602 | 2613 |
|
Also available in: Unified diff
schemas/util.sql: added set_comment()