Project

General

Profile

« Previous | Next » 

Revision 12300

fix: schemas/util.sql: diff(regclass, regclass): display single row tables side-by-side

View differences:

util.sql
939 939
CREATE FUNCTION diff(left_table regclass, right_table regclass, col_type_null anyelement, OUT left_ anyelement, OUT right_ anyelement) RETURNS SETOF record
940 940
    LANGUAGE sql STABLE
941 941
    AS $_$
942
SELECT * FROM util.diff($1::text, $2::text, $3)
942
SELECT * FROM util.diff($1::text, $2::text, $3,
943
	util.has_single_row($1) AND util.has_single_row($2))
943 944
$_$;
944 945

  
945 946

  

Also available in: Unified diff