Revision 13474
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
2540 | 2540 |
|
2541 | 2541 |
|
2542 | 2542 |
-- |
2543 |
-- Name: mk_set_comment(regclass, text); Type: FUNCTION; Schema: util; Owner: - |
|
2544 |
-- |
|
2545 |
|
|
2546 |
CREATE FUNCTION mk_set_comment(table_ regclass, comment text) RETURNS text |
|
2547 |
LANGUAGE sql STABLE |
|
2548 |
AS $_$ |
|
2549 |
SELECT $$COMMENT ON TABLE $$||$1||$$ IS $$||quote_nullable($2) |
|
2550 |
$_$; |
|
2551 |
|
|
2552 |
|
|
2553 |
-- |
|
2543 | 2554 |
-- Name: mk_set_search_path(boolean); Type: FUNCTION; Schema: util; Owner: - |
2544 | 2555 |
-- |
2545 | 2556 |
|
Also available in: Unified diff
schemas/util.sql: added mk_set_comment()