Project

General

Profile

« Previous | Next » 

Revision 9825

schemas/util.sql: added search_path_append()

View differences:

schemas/util.sql
947 947

  
948 948

  
949 949
--
950
-- Name: search_path_append(text); Type: FUNCTION; Schema: util; Owner: -
951
--
952

  
953
CREATE FUNCTION search_path_append(schemas text) RETURNS void
954
    LANGUAGE sql STRICT
955
    AS $_$
956
SELECT util.eval(
957
$$SET search_path TO $$||current_setting('search_path')||$$, $$||$1);
958
$_$;
959

  
960

  
961
--
950 962
-- Name: set_col_names(regclass, regclass); Type: FUNCTION; Schema: util; Owner: -
951 963
--
952 964

  

Also available in: Unified diff