Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
查看从 postgres 分配给其信息模式中的列的 foreignKey 和 primaryKey 名称的最佳方法是什么?
您可以在表pg_constraints中查看所有约束(包括 PK 和 FK)