last,
next,
previous,
first change
all,
none,
invert selection on the left,
all,
none,
invert selection on the right side
left selected items to the right side,
right selected items to the left side
selected items on the right side,
selected items on the right side
Export to Xlsx or JsonThis tab allows to compare definition of particular table:
Tab is divided into major collapsible sections (Columns, Constraints, Indexes, Triggers, Options and Partitions) and bottom panel for selected item details. Here is explanation of changes highlight annotation on the above screenshot:
Vertical toolbar between two panels contains additional tab-specific actions:
Open data diff for the current table
Open data diff for the current table filtered only to new and changed records
opens query result diff with select top 1000 records statement for this table
'Open table definition as text' opens text diff tab with table script generated by applicationColumns can be shown in the one of three modes:
Please note that merge/delete action may fail because of limitations caused by other objects such as foreign keys, existing data and so on. Please check the merge execution result for details.
The Options section has 2 columns: Name and Value. It shows:
button opens the table structure diff of the parent table. Merge attaches the table to the parent table (or changes the bound), Delete detaches it.The Columns, Constraints, Indexes, Triggers and Partitions sections have the Comment column (before the Inherited column, if it is shown). When only a comment is changed, merge uses only COMMENT ON, the object is not re-created. When an object is re-created because of other changes, its comment is set again after the create. Comments are compared and merged only if the 'Compare comments' option is enabled in Settings, otherwise they are only shown.
The Partitions section is shown for partitioned tables (see Partitioned Tables). Columns:
Merge of a Partitions row creates the partition, attaches a NOT ATTACHED table, detaches a table that is NOT ATTACHED on the source side, changes the bound, or merges changes of the partition's own objects. Delete of a Partitions row drops the partition table with its data. Merge does not drop partitions that exist only on the target side, use Delete for that.
A partition is opened in this tab as a table. It has the PARTITION OF row in the Options section, and the Constraints, Indexes and Triggers sections have the Inherited column: Yes for objects that PostgreSQL copies from the parent table. Inherited objects are shown with the names of the parent table objects, and merge skips them. Columns of a partition come from the parent table, they can not be added or deleted here.
Some changes can not be done without a drop of the target table. Then the merge is disabled and the toolbar button tooltip has the reason.