Project

General

Profile

« Previous | Next » 

Revision 12473

schemas/util.sql: added runnable_sql()

View differences:

trunk/schemas/util.sql
2767 2767

  
2768 2768

  
2769 2769
--
2770
-- Name: runnable_sql(text); Type: FUNCTION; Schema: util; Owner: -
2771
--
2772

  
2773
CREATE FUNCTION runnable_sql(sql text) RETURNS text
2774
    LANGUAGE sql IMMUTABLE
2775
    AS $_$
2776
SELECT util.mk_set_search_path(for_printing := true)||$$;
2777
$$||$1
2778
$_$;
2779

  
2780

  
2781
--
2770 2782
-- Name: save_drop_view(text); Type: FUNCTION; Schema: util; Owner: -
2771 2783
--
2772 2784

  

Also available in: Unified diff