Project

General

Profile

« Previous | Next » 

Revision 12572

schemas/util.sql: util.remake_diff_table(): viewing the table in human-readable form: use just the output side's values_() columns, to avoid repeating columns on both sides that are the same and put just the changed columns side-by-side

View differences:

util.sql
2688 2688
SELECT util.prepend_comment($1, '
2689 2689
to view this table in human-readable form (with each side''s tuple column
2690 2690
expanded to its component fields):
2691
SELECT (left_).*, (right_).* FROM '||$1||';
2691
SELECT (left_).*, ('||util.schema($4::regclass)||'.values_(right_)).* FROM '||$1||';
2692 2692
');
2693 2693
$_$;
2694 2694

  

Also available in: Unified diff