This topic describes the data exporting process and how Data Import/Export Tools for PostgreSQL can be an ultimate solution for the database management routine.
To export data, perform the following steps:
Open the Data Export wizard by doing either of these actions:
Note
dbForge Studio for PostgreSQL comes with Paginal Mode enabled by default, limiting data selection to the first 1000 records. To export more records, disable the Paginal Mode and press Ctrl+End to fetch all the selected data at once. Then, click
Export Data at the top of the grid to open the Data Export Wizard.
In the Source tab, select a required PostgreSQL server connection, a database, a schema, table(s) and view(s) you want to export and then click Next.
Note
If you opened the wizard from the data grid, the Source tab would allow you to specify only a name and a path of the destination file (the one where the exported data will be saved).
In the Data formats tab, select exported columns and click Next.
Note
For CSV, HTML, PDF, RTF, and Text export formats, select formats of data representation, for example, integer, date, time, etc. from the drop-down list For Excel and Excel 2007 formats, the field is editable only for binary columns and includes only two data types (HexString and String) in the drop-down list.
There is a filter in the Data Export wizard window.
If you want to filter data, use the required column filter. To do this:
Another and the most reliable way to export filtered data is to filter it directly in the query. To do this, execute the SELECT * FROM statement with the WHERE condition, where you can specify the required filter. Then, implement already filtered data export with the Data Export wizard, calling it from the filtered grid shortcut menu.
Follow the Data Export wizard steps and then click Export. If the data export is finished successfully, the Data export complete message appears.