Gathering schema details.....................................ERROR - Failed to retrieve comment for catalog 'finance' using SQL 'SELECT datname AS catalog_name, pg_catalog.obj_description(datlastsysoid, 'pg_database') AS catalog_comment FROM pg_catalog.pg_database WHERE datname = :catalog ;'
ERROR: column "datlastsysoid" does not exist
Position: 60
WARN - Failed to retrieve stored procedure/function details using sql 'select r.routine_name || '(' || oidvectortypes(p.proargtypes) || ')' as routine_name, case when p.proisagg then 'AGGREGATE' else 'FUNCTION' end as routine_type, case when p.proretset then 'SETOF ' else '' end || case when r.data_type = 'USER-DEFINED' then r.type_udt_name else r.data_type end as dtd_identifier, r.external_language as routine_body,r.routine_definition, r.sql_data_access, r.security_type, r.is_deterministic, d.description as routine_comment from information_schema.routines r left join pg_namespace ns on r.routine_schema = ns.nspname left join pg_proc p on r.specific_name = p.proname || '_' || p.oid left join pg_description d on d.objoid = p.oid where r.routine_schema = :schema'
ERROR: column p.proisagg does not exist
Hint: Perhaps you meant to reference the column "p.prolang".
Position: 97
(12sec)
Connecting relationships.....................................(10sec)
Writing/graphing summary.INFO - Gathered schema details in 10 seconds
INFO - Writing/graphing summary
INFO - Graphviz renderer set to ':cairo'
.ERROR - dot -Tpng:cairo relationships.real.compact.dot -orelationships.real.compact.png -Tcmapx: Error: dot: can't open relationships.real.compact.dot: Permission denied
ERROR - dot -Tpng:cairo relationships.real.large.dot -orelationships.real.large.png -Tcmapx: Error: dot: can't open relationships.real.large.dot: Permission denied
.ERROR - dot -Tpng:cairo relationships.implied.compact.dot -orelationships.implied.compact.png -Tcmapx: Error: dot: can't open relationships.implied.compact.dot: Permission denied
ERROR - dot -Tpng:cairo relationships.implied.large.dot -orelationships.implied.large.png -Tcmapx: Error: dot: can't open relationships.implied.large.dot: Permission denied
ERROR - RelationShipDiagramError
Failed to produce diagram for: output\diagrams\summary\relationships.real.compact.dot
ERROR - RelationShipDiagramError
Failed to produce diagram for: output\diagrams\summary\relationships.real.large.dot
ERROR - RelationShipDiagramError
Failed to produce diagram for: output\diagrams\summary\relationships.implied.compact.dot
ERROR - RelationShipDiagramError
Failed to produce diagram for: output\diagrams\summary\relationships.implied.large.dot
.ERROR - dot -Tpng:cairo orphans.dot -oorphans.png -Tcmapx: Warning: cell size too small for content
-vizgs
Disablesgraphviz。我不记得它可以交换它使用的是什么,但是该命令现在运行干净,而产生的HTML文件包含关系图。