I would like to generate an entity-relationship diagram (ERD) from an existing PostgreSQL database.
We used DBVisualizer for that.
Description: The References graph is a great feature as it automatically renders all primary/foreign key mappings (also called referential integrity constraints) in a graph style. The table nodes and relations are layed out automatically, with a number of layout modes available. The resulting graph is unique as it displays all information in an optimal and readable layout. from its site