Project

General

Profile

« Previous | Next » 

Revision 12270

schemas/util.sql: added mk_set_search_path()

View differences:

trunk/schemas/util.sql
1744 1744

  
1745 1745

  
1746 1746
--
1747
-- Name: mk_set_search_path(text); Type: FUNCTION; Schema: util; Owner: -
1748
--
1749

  
1750
CREATE FUNCTION mk_set_search_path(search_path text) RETURNS text
1751
    LANGUAGE sql IMMUTABLE
1752
    AS $_$
1753
SELECT $$SET LOCAL search_path TO $$||$1
1754
$_$;
1755

  
1756

  
1757
--
1747 1758
-- Name: mk_source_col(regclass); Type: FUNCTION; Schema: util; Owner: -
1748 1759
--
1749 1760

  

Also available in: Unified diff