The Merge Diagram tool of the Database Designer for PostgreSQL allows you to merge
content of two diagrams. This allows you to create new cumulative diagram, which will include content of
your two diagrams.
To merge two diagrams, please follow these steps:
- Open two diagrams you want to merge.
One of them will accumulate its own content and content of other diagram.
- Start Merge Diagram tool by selecting the Diagram | Merge Diagram menu item.
- Select diagrams you want to merge. Make sure that you have chosen Options tab of the
Merge Diagram tool.
From diagram
Choose the source diagram from drop-down menu, which contains list of opened diagrams. Objects
of this diagram will be added to the destination diagram.
To diagram
Choose the destination diagram from the drop-down menu, which contains the list of the opened
diagrams. This diagram will contain its own objects and objects of source diagram. Set the name
of the database user who will own the new database, or type DEFAULT to use the default
(namely, the user executing the command).
- Select the source diagram objects to merge. Go to the Objects tab.
Click on the appropriate checkboxes to select objects you want to add to the destination diagram.
To select/deselect all objects of particular type, click on appropriate checkbox near them. There are
the following objects types: Domains, Notes, Tables, References (by default all objects are
already selected).
- Click OK to add the selected objects of the source diagram to the
destination diagram.
- Save the resulted (destination) diagram to a new file.