pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

Auto Refresh of Object Explorer Upon CREATE, ALTER, DELETE, UPDATE in Query Tool

Open anthonydb opened this issue 1 year ago • 0 comments

Per the conversation in https://github.com/pgadmin-org/pgadmin4/issues/7892, as a user I would like the Object Explorer tree to refresh automatically after I run CREATE, ALTER, DELETE and UPDATE statements in the pgAdmin tool. Currently, to see changes following those statements, I must manually refresh the object tree.

For example, in these scenarios:

  • If I create a table, the tree should refresh to show that table.
  • Conversely, if I delete a table, the tree should refresh to show that table is removed.
  • If I run an ALTER statement to add a column to a table, the tree would refresh and show that new column.

And so forth ...

This behavior is similar to what is found in DataGrip, which automatically instrospects all objects after such statements.

Describe alternatives you've considered

Manually refreshing is the only alternative, but that's an extra step.

anthonydb avatar Dec 09 '24 10:12 anthonydb