Project

General

Profile

« Previous | Next » 

Revision 13453

schemas/util.sql: added array_reverse()

View differences:

util.sql
690 690

  
691 691

  
692 692
--
693
-- Name: array_reverse(anyarray); Type: FUNCTION; Schema: util; Owner: -
694
--
695

  
696
CREATE FUNCTION array_reverse("array" anyarray) RETURNS anyarray
697
    LANGUAGE sql IMMUTABLE
698
    AS $_$
699
SELECT array(SELECT * FROM util.in_reverse($1))
700
$_$;
701

  
702

  
703
--
693 704
-- Name: auto_rm_freq(regclass[], text); Type: FUNCTION; Schema: util; Owner: -
694 705
--
695 706

  

Also available in: Unified diff