Project

General

Profile

« Previous | Next » 

Revision 13478

schemas/util.sql: added show_set_comment(regclass)

View differences:

trunk/schemas/util.sql
3764 3764

  
3765 3765

  
3766 3766
--
3767
-- Name: show_set_comment(regclass); Type: FUNCTION; Schema: util; Owner: -
3768
--
3769

  
3770
CREATE FUNCTION show_set_comment(table_ regclass) RETURNS text
3771
    LANGUAGE sql STABLE
3772
    AS $_$
3773
SELECT util.mk_set_comment($1, COALESCE(util.comment($1), ''/*= no comment*/))
3774
$_$;
3775

  
3776

  
3777
--
3767 3778
-- Name: show_types_like(text, text); Type: FUNCTION; Schema: util; Owner: -
3768 3779
--
3769 3780

  

Also available in: Unified diff