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:
Akshay Joshi
2019-10-07 16:32:37 +05:30
parent 55c6fa0d93
commit 1e4fd552ac
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ Housekeeping
Bug fixes
*********
| `Issue #3386 <https://redmine.postgresql.org/issues/3386>`_ - Ensure backup a partition table should not backup the whole database.
| `Issue #4199 <https://redmine.postgresql.org/issues/4199>`_ - Ensure that 'ENTER' key in the data filter should not run the query.
| `Issue #4728 <https://redmine.postgresql.org/issues/4728>`_ - Highlighted the color of closing or opening parenthesis when user select them in CodeMirror.
| `Issue #4751 <https://redmine.postgresql.org/issues/4751>`_ - Fix issue where export job fails when deselecting all the columns.

View File

@@ -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],
]);