Question

I am trying to visualize tables and their relations using pgAdmin. I have understood that there is a query visualizer tool available for pgAdmin. However, that only is useful if you are dealing with queries. My main goal is to generate a graphical representation of all the tables available in database.

Was it helpful?

Solution 3

I have found this webpage on postgresql wiki, with various tools on utilizing a postgresql database. I have used DbWrench on Mac to generate the ERD.

OTHER TIPS

In pgAdmin 4 right click on the database and then "Generate ERD (Beta)"

enter image description here

For pgadmin 3 Go to Tools -> Query Tool

Graphical Query Builder is a tab in the Query Tool view.

unfortunately Pgadmin 4 does not have this option.

try pgModeler - there is working demo (although limited by number of objects). Also only PostgreSQL 9.x is supported.

You can use JetBrains DataGrip for visualize your database schemas. Create a connection to DB, and right click on [shema name] -> Diagrams -> Show visualisation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top