pgadmin4
pgadmin4 copied to clipboard
Option in preferences to hide table partitions DDL in SQL tab
I need a preference option to not generate DDL from table partitions in SQL tab.
I have a database where each table has hundreds of partitions. When I select a table and SQL tab to view DDL, it takes a long time to generate it because it generates DDL for each partition.
In preferences I disabled "Partitions" in "Browser" -> "Nodes", this hide partitions from the tree, but DDL is still generated.
we can add one preference to hide DDL SQL if the node is hidden from the browser tree. by default, it will be a false.