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.
Asked
Active
Viewed 1.4e+01k times
75
-
are you trying to extract an ERD ? – amphibient Aug 23 '13 at 15:56
-
@amphibient Any visualization; if I can generate ERD that's even better. – sheidaei Aug 23 '13 at 16:07
-
can you use Visio for that, if you have it ? – amphibient Aug 23 '13 at 16:20
-
or this http://www.smartdraw.com/specials/erddataflow.asp – amphibient Aug 23 '13 at 16:21
-
I have found this answer http://stackoverflow.com/a/9694261/892535 I am using pgAdmin 1.16 but can't see database designer tool. – sheidaei Aug 23 '13 at 16:22
-
There you go everything is explained here http://dba.stackexchange.com/questions/16993/how-to-view-data-in-pgadmin-iii – ulrich Apr 05 '15 at 22:07
5 Answers
69

midi
- 3,128
- 5
- 30
- 47
-
4not in Beta anymore, i mean is just 'Generate ERD now', worked fine, thanks! – antont Dec 09 '21 at 14:43
23
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.
21
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.

Loofer
- 6,841
- 9
- 61
- 102

user2669758
- 227
- 2
- 3
-
20Hello, where is the tab for the Graphical Query Builder? I have the query tool, but then the options within it are no tabs gall GQB. Where can i find this tool? – Mel Feb 01 '17 at 03:54
-
2
-
5
6
try pgModeler - there is working demo (although limited by number of objects). Also only PostgreSQL 9.x is supported.

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

Swatar Common
- 21
- 2