Revision 13477
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
3702 | 3702 |
CREATE FUNCTION set_comment(table_ regclass, comment text) RETURNS void |
3703 | 3703 |
LANGUAGE sql |
3704 | 3704 |
AS $_$ |
3705 |
SELECT util.eval($$COMMENT ON TABLE $$||$1||$$ IS $$||quote_nullable($2))
|
|
3705 |
SELECT util.eval(util.mk_set_comment($1, $2))
|
|
3706 | 3706 |
$_$; |
3707 | 3707 |
|
3708 | 3708 |
|
Also available in: Unified diff
schemas/util.sql: set_comment(): use util.mk_set_comment()