mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure backup a partition table should not backup the whole database.
For the partition table same argument '--table' is used with pg_dump. Fixes #3386
This commit is contained in:
@@ -253,7 +253,7 @@ export class BackupDialogWrapper extends DialogWrapper {
|
||||
this.view.model.set('schemas', [nodeData._label]);
|
||||
}
|
||||
|
||||
if (nodeData._type === 'table') {
|
||||
if (nodeData._type === 'table' || nodeData._type === 'partition') {
|
||||
this.view.model.set('tables', [
|
||||
[treeInfo.schema._label, nodeData._label],
|
||||
]);
|
||||
|
Reference in New Issue
Block a user