从Aurora Postgres生成实体关系图15.4在AWS上使用schemaspy6.2.4

问题描述 投票:0回答:1
graphviz-12.2.1-win64 - 点-Dot-GraphViz版本12.2.1(20241206.2353)
    command是: JAVA -JAR -JAR STEMASPY -6.2.4.2.4.jar -T PGSQL -DP Postgresql -42.7.5.5.5.jar -Host db -et db -et db -et db -ice -inline -uat-central-central-central-central-1.rds.amazonaws.amazonaws.com -port 5432 -db Fin -u fin -u pguser -P密码-S public -ooutput
  1. ***********我会以下错误
  2. 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
  3. 这与graphviz有关,我已经正确安装了它并成功地运行了一个简单的测试,但是通过schemaspy运行会导致错误。
  4. 由于v 6.1 hendaspy不再需要GraphViz,因此使用该参数:

-vizgs

Disablesgraphviz。我不记得它可以交换它使用的是什么,但是该命令现在运行干净,而产生的HTML文件包含关系图。
    
postgresql graphviz erd schemaspy
1个回答
0
投票
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.