Project

General

Profile

« Previous | Next » 

Revision 13504

schemas/util.sql: added mk_set_relation_metadata()

View differences:

trunk/schemas/util.sql
2590 2590

  
2591 2591

  
2592 2592
--
2593
-- Name: mk_set_relation_metadata(regclass); Type: FUNCTION; Schema: util; Owner: -
2594
--
2595

  
2596
CREATE FUNCTION mk_set_relation_metadata(relation regclass) RETURNS text
2597
    LANGUAGE sql STABLE
2598
    AS $_$
2599
SELECT util.show_grants_for($1)
2600
||util.show_set_comment($1)||$$
2601
$$
2602
$_$;
2603

  
2604

  
2605
--
2593 2606
-- Name: mk_set_search_path(boolean); Type: FUNCTION; Schema: util; Owner: -
2594 2607
--
2595 2608

  

Also available in: Unified diff