when I delete table and recreate it on the commandline, and then try to refresh the table in pgadmin then the object in the tree is deleted.
I guess because the referenced oid doesn't exist anymore.
can you try to refresh the object by schema+name if it cannot be found by its oid?
background:
I'm working with partitions and as partitions are not so good supported (in postgres) I found a way to directly work on the underlying tables. I reverse-engineer the table fill it with data and then replace it the original partition with the reverse-engineered table.
each time when checking the re-created table I need to wait until a few thousand tables are re-loaded.
and from gui point of view I want to refresh a table with that name - not with that oid. correct? So in my case it would help greatly as I'm working often remote with limited bandwith and vpn.