Foreign keys

Developer

PostgreSQL Foreign Key Explorer

Explore table relationships from CREATE TABLE and ALTER TABLE statements before drawing a schema map.

Edit or Paste Here

Editable work area

Use this area for the source text, query, token, or settings you want to test. The cleaned output appears beside it.

Results report

Current results

Relationships0
Tables with FKs0
StatusNo FKs found

Relationship list

text
No foreign keys found

Foreign keys

No relationshipsPaste DDL containing FOREIGN KEY or REFERENCES clauses

Assumptions

Calculation notes

  • This parser is intentionally lightweight and may not understand every PostgreSQL DDL edge case.