Revision 14243
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
5197 | 5197 |
|
5198 | 5198 |
|
5199 | 5199 |
-- |
5200 |
-- Name: set_comment(regclass, text); Type: FUNCTION; Schema: util; Owner: -
|
|
5200 |
-- Name: set_comment(anyelement, text); Type: FUNCTION; Schema: util; Owner: -
|
|
5201 | 5201 |
-- |
5202 | 5202 |
|
5203 |
CREATE FUNCTION set_comment(table_ regclass, comment text) RETURNS void
|
|
5203 |
CREATE FUNCTION set_comment(item anyelement, comment text) RETURNS void
|
|
5204 | 5204 |
LANGUAGE sql |
5205 | 5205 |
AS $_$ |
5206 | 5206 |
SELECT util.eval(util.mk_set_comment($1, $2)) |
Also available in: Unified diff
schemas/util.sql: set_comment(): accept anything with a mk_set_comment()