Project: Exports on Database


Over extraction of SQL commands on files, pgDesigner also provides for the possibility of exporting the project directly creating the database on a server PostgreSQL. As for export to file, the procedure for export database provides a window on which set the parameters and objects you want to create.

As already noted several times, certification or less of the types of accommodation provided in the present and for selecting parameters export depend entirely on PostgreSQL version selected for the project, it is possible that some of the items are not available and options are disabled.



At the end of the definition of parameters, will be presented the window to connect to the server PostgreSQL.



It should be borne in mind that the operation is carried out with the name and password that is logged, so it makes sense that the database exists and that the user is the owner, or at least has all the rights necessary for the creation of objects contained in the draft. Items already in the database, owned by other users, and corresponding to those contained in the draft cause blockage of the procedure, the release of an error message.

It is important to note that, at present, it is not possible to perform an upgrade of existing objects in the database, any existing object corresponding to that contained in the draft, will be completely overwritten, resulting in elimination of all existing data. Before performing the procedure for export, we recommend making a backup of preventive and comprehensive database.

Note: the possibility of creating database in a particular type of object is dependent on the server version PostgreSQL, it is necessary to be careful before proceeding, and any inconsistencies cause blockage of the procedure and release of an error message.

During the process of creating the database will see a progress bar, which will show the progress in real time.