Project

General

Profile

« Previous | Next » 

Revision 12649

schemas/util.sql: added copy_types_and_data(regclass, text)

View differences:

trunk/schemas/util.sql
925 925

  
926 926

  
927 927
--
928
-- Name: copy_types_and_data(regclass, text); Type: FUNCTION; Schema: util; Owner: -
929
--
930

  
931
CREATE FUNCTION copy_types_and_data(from_ regclass, to_ text) RETURNS void
932
    LANGUAGE sql
933
    AS $_$
934
SELECT util.materialize_view($2, $1)
935
$_$;
936

  
937

  
938
--
928 939
-- Name: create_if_not_exists(text); Type: FUNCTION; Schema: util; Owner: -
929 940
--
930 941

  

Also available in: Unified diff