嗯...我该如何将postgresql数据库架构导出为XML格式?
使用其中一个函数table_to_xml、schema_to_xml等。请参阅文档。
table_to_xml
schema_to_xml
我用 dbunit 来实现这个目的。
我认为 DbVisualizer 也可以做到。