Revision 12277
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/util.sql | ||
---|---|---|
968 | 968 |
CREATE FUNCTION diff_views(left_view regclass, right_view regclass, col_type_null anyelement, OUT left_ anyelement, OUT right_ anyelement) RETURNS SETOF record |
969 | 969 |
LANGUAGE sql STABLE |
970 | 970 |
AS $_$ |
971 |
SELECT * FROM util.diff_cols($$SELECT * FROM $$||$1, $$SELECT * FROM $$||$1, $3)
|
|
971 |
SELECT * FROM util.diff_cols($$SELECT * FROM $$||$1, $$SELECT * FROM $$||$2, $3)
|
|
972 | 972 |
$_$; |
973 | 973 |
|
974 | 974 |
|
Also available in: Unified diff
bugfix: schemas/util.sql: diff_views(): need to use $2, not $1, for the 2nd query