dbForge Studio for PostgreSQL enables you to compare and synchronize PostgreSQL schemas and schema objects.
To start a new schema comparison project, specify two data sources, and optionally, set comparison options, schema and table mapping in the New Schema Comparison wizard.
Open the New Schema Comparison wizard in one of these ways:
Tip
When you select two databases in Database Explorer for schema comparison, dbForge Studio automatically assigns one as the source and the other as the target in the New Schema Comparison wizard.
On the Source and Target page, select the source and target server connections and databases for schema comparison.

Note
The Source is the data source that remains unchanged, while the Target is the data source that is updated to match the source.
Tip
To refresh the list of databases, in Database, click Refresh.
1. In Connection, select Manage.
2. In the Connection Manager dialog, click New.

3. In the Database Connection Properties dialog, configure the connection settings, then click Connect.
Tip
To verify the connection settings, click Test Connection, then click OK.
4. In the Connection Manager dialog, select the created connection.
5. Click OK.
To swap the source and target settings, click
.
To copy source settings to the target, click
.
To copy target settings to the source, click
.
You can create a .bat file with the command-line settings or a .scomp file with schema comparison options that you can use for automating or scheduling schema comparison tasks.
1. In the Schema Comparison wizard, select the source and target databases you want to compare.
2. Optional: Set the schema comparison options.
3. Click the arrow next to Save, then select Save Command Line.

4. In the Command line execution settings dialog, set the command-line options.
5. To verify the settings, click Validate.
6. Click Save.
7. In the Save As dialog, enter the file name and path to store the .bat file, then click Save.
1. In the Schema Comparison wizard, select the source and target databases you want to compare.
2. Optional: Set the schema comparison options.
3. Click the arrow next to Save, then select Save Document.

4. In the Save File As dialog, enter the file name and path to store the .scomp file, then click Save.
Note
You can create a .bat or .scomp file on any page of the wizard.