Revision 13952
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/schemas/util.sql | ||
---|---|---|
2875 | 2875 |
|
2876 | 2876 |
|
2877 | 2877 |
-- |
2878 |
-- Name: mk_set_comment(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
2879 |
-- |
|
2880 |
|
|
2881 |
CREATE FUNCTION mk_set_comment(table_ regclass) RETURNS text |
|
2882 |
LANGUAGE sql STABLE |
|
2883 |
AS $_$ |
|
2884 |
SELECT util.mk_set_comment($1, util.comment($1)) |
|
2885 |
$_$; |
|
2886 |
|
|
2887 |
|
|
2888 |
-- |
|
2878 | 2889 |
-- Name: mk_set_comment(col_ref, text); Type: FUNCTION; Schema: util; Owner: - |
2879 | 2890 |
-- |
2880 | 2891 |
|
... | ... | |
2916 | 2927 |
LANGUAGE sql STABLE |
2917 | 2928 |
AS $_$ |
2918 | 2929 |
SELECT util.show_grants_for($1) |
2919 |
||util.show_set_comment($1)||$$
|
|
2930 |
||util.mk_set_comment($1)||$$
|
|
2920 | 2931 |
$$ |
2921 | 2932 |
$_$; |
2922 | 2933 |
|
... | ... | |
4366 | 4377 |
|
4367 | 4378 |
|
4368 | 4379 |
-- |
4369 |
-- Name: show_set_comment(regclass); Type: FUNCTION; Schema: util; Owner: - |
|
4370 |
-- |
|
4371 |
|
|
4372 |
CREATE FUNCTION show_set_comment(table_ regclass) RETURNS text |
|
4373 |
LANGUAGE sql STABLE |
|
4374 |
AS $_$ |
|
4375 |
SELECT util.mk_set_comment($1, util.comment($1)) |
|
4376 |
$_$; |
|
4377 |
|
|
4378 |
|
|
4379 |
-- |
|
4380 | 4380 |
-- Name: show_types_like(text, text); Type: FUNCTION; Schema: util; Owner: - |
4381 | 4381 |
-- |
4382 | 4382 |
|
Also available in: Unified diff
schemas/util.sql: show_set_comment(regclass): renamed to mk_set_comment() to match other mk_set_comment() functions