mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that utility existence check should work for schema and
other child objects while taking Backup/Restore. Fixes #3722
This commit is contained in:
parent
6ddab02769
commit
0d5a6eeeff
@ -22,4 +22,5 @@ Bug fixes
|
||||
| `Bug #3674 <https://redmine.postgresql.org/issues/3674>`_ - Cleanup session files periodically.
|
||||
| `Bug #3660 <https://redmine.postgresql.org/issues/3660>`_ - Rename the 'SQL Editor' section of the Preferences to 'Query Tool' as it applies to the whole tool, not just the editor.
|
||||
| `Bug #3700 <https://redmine.postgresql.org/issues/3700>`_ - Fix connection garbage collector.
|
||||
| `Bug #3703 <https://redmine.postgresql.org/issues/3703>`_ - Purge connections from the cache on logout.
|
||||
| `Bug #3703 <https://redmine.postgresql.org/issues/3703>`_ - Purge connections from the cache on logout.
|
||||
| `Bug #3722 <https://redmine.postgresql.org/issues/3722>`_ - Ensure that utility existence check should work for schema and other child objects while taking Backup/Restore.
|
@ -39,7 +39,8 @@ export class BackupDialog extends Dialog {
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = this.url_for_utility_exists(serverInformation._id, params);
|
||||
var sid = serverInformation._type == 'database' ? serverInformation._pid : serverInformation._id;
|
||||
const baseUrl = this.url_for_utility_exists(sid, params);
|
||||
// Check pg_dump or pg_dumpall utility exists or not.
|
||||
let that = this;
|
||||
let service = axios.create({});
|
||||
|
@ -39,7 +39,8 @@ export class RestoreDialog extends Dialog {
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = this.url_for_utility_exists(serverInformation._id);
|
||||
var sid = serverInformation._type == 'database' ? serverInformation._pid : serverInformation._id;
|
||||
const baseUrl = this.url_for_utility_exists(sid);
|
||||
// Check pg_restore utility exists or not.
|
||||
let that = this;
|
||||
let service = axios.create({});
|
||||
|
Loading…
Reference in New Issue
Block a user