Project

General

Profile

« Previous | Next » 

Revision 12463

schemas/util.sql: added mk_set_search_path() (which uses the current search_path)

View differences:

trunk/schemas/util.sql
2058 2058

  
2059 2059

  
2060 2060
--
2061
-- Name: mk_set_search_path(); Type: FUNCTION; Schema: util; Owner: -
2062
--
2063

  
2064
CREATE FUNCTION mk_set_search_path() RETURNS text
2065
    LANGUAGE sql IMMUTABLE
2066
    AS $$
2067
SELECT util.mk_set_search_path(current_setting('search_path'))
2068
$$;
2069

  
2070

  
2071
--
2061 2072
-- Name: mk_set_search_path(text[]); Type: FUNCTION; Schema: util; Owner: -
2062 2073
--
2063 2074

  

Also available in: Unified diff