1. Can we remove the grey background for selected nodes?
2. Can/Should we add a label next to collections like - Tables (Selected: 3), d1 (Selected: 8), and when schema is selected then d1 (Selected: schema)?
3. We can have a three state checkbox for schema level checkbox. - empty, partial (select all child nodes) and full (schema selected).
1. If the user selects the schema node from the tree, it will use --schema to take a backup of that schema. (This is only when the user selects the schema node)
2. If a user selects a few nodes from the tree, like tables it will partially select the schema node and it will use the --table to take a backup of the selected nodes.
3. If the user selects all children of a schema but not the schema node then it will partially select the schema node and will use the --table to take a backup of the selected nodes.
Please let me know if you have any questions/ suggestions.
I am currently working on #642 to allow to selection/deselect of objects under the object backup operation.
This will be only applicable to the database and its sub-nodes(Not for Backup Global and Backup server)
Details:
Added a new tab in the backup dialog 'Objects'
On the 'Objects' tab it will list down all the schemas and tables under the selected database.
The second tab name (Data/Objects) should be changed because the last tab is named Objects.
If the user selects the specific Schema then it will list down only tables under the selected schema.
By default, all the nodes from the tree will be selected and the user can deselect them if required.
+1
If the user de-selects all the nodes and took a backup it will take a normal backup and all other nodes will get included in the backup.
Then, selecting all the tree objects by default will make no sense.
Questions:
pgAdmin III use to support taking backup of tables only from the UI, a user was not able to select views, materialized views, foreign tables, and sequences from the backup dialog. (If the user selects all from the checkbox on the UI then other database objects are included implicitly in the backup)
Should we continue with the above behavior or should we now allow the user to select these database objects in the backup dialog?