Project

General

Profile

« Previous | Next » 

Revision 11830

schemas/util.sql: added explain()

View differences:

schemas/util.sql
1093 1093

  
1094 1094

  
1095 1095
--
1096
-- Name: explain(text); Type: FUNCTION; Schema: util; Owner: -
1097
--
1098

  
1099
CREATE FUNCTION explain(sql text) RETURNS SETOF text
1100
    LANGUAGE sql
1101
    AS $_$
1102
SELECT util.eval2set($$EXPLAIN $$||$1)
1103
$_$;
1104

  
1105

  
1106
--
1096 1107
-- Name: fix_array(anyarray); Type: FUNCTION; Schema: util; Owner: -
1097 1108
--
1098 1109

  

Also available in: Unified diff