Project: Create a Project importing structure from a database (reverse-engineering)


Selecting the item under the file menu, you can start the process of loading the structure from an existing database, this PostgreSQL on a server (local or remote). Before you make the connection, there is a window in which to determine which types of imported items. The feature loads all the objects related to which the connection is made, discarding all other elements even if present on the same database (eg system objects). Depending on the version of the PostgreSQL server in use, it is possible that some items are not available, regardless of the selection made in the settings loading.

The figure below shows the dialog box for setting the parameters of loading:



The login window allows you to specify the data required for connecting to the database server. Except password, all settings are saved in the configuration file of the program, and restored the next access. As shown in the figure below, the window provides the opportunity to enter all the parameters useful for the connection. According to the configuration of the server, some of these data can not be necessary or defer the Classic PostgreSQL. Through the Test button is unable to verify the correctness of input parameters, while the Connect button connects and start the process of loading. The Cancel button allows you to cancel the procedure, in this case the project is eliminated.



During loading from the database will see a progress bar, which will show the progress in real time. Once started, it is not possible to cancel loading, it is necessary to wait until the end of the process.