mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed following issue of schema diff tool:
1. Comparison result of 2 exact identical Trigger Functions is different 2. EPAS 12: Table comparison with the compound trigger shown as different, but all SQL panels are blank 3. Compound trigger properties panel is not opening 4. The DDL difference of the table containing the foreign key is not accurate 5. The DDL difference of the view which refers the table from schema is not accurate 6. DDL comparison fails if we have procedure with plpgsql in source and edbsql in target
This commit is contained in:
committed by
Akshay Joshi
parent
210bbfdbe1
commit
3b1c8abd2f
@@ -230,8 +230,9 @@ export default class SchemaDiffUI {
|
||||
server_data['database'] = data.database;
|
||||
|
||||
if (_.isUndefined(generated_script)) {
|
||||
generated_script = gettext('-- The generated script does not include the dependency resolution currently, so it may fail in case of dependency. \n');
|
||||
generated_script += gettext('-- Please report an issue at https://redmine.postgresql.org/projects/pgadmin4/issues/new \n');
|
||||
generated_script = gettext('-- This script is generated by \'Schema Diff\' utility of pgAdmin 4. \n');
|
||||
generated_script += gettext('-- It does not include the dependency resolution logic, hence - it may not be able to resolve some dependent database object differences. \n');
|
||||
generated_script += gettext('-- Please report an issue for any failure with the reproduction steps. \n');
|
||||
|
||||
generated_script += 'BEGIN;' + '\n' + self.model.get('diff_ddl') + '\n' + 'END;';
|
||||
}
|
||||
|
Reference in New Issue
Block a user