Skip to content

PostgreSQL compatibility for Unimod#201

Merged
levitsky merged 6 commits into
masterfrom
fix/unimod-postgres
May 5, 2026
Merged

PostgreSQL compatibility for Unimod#201
levitsky merged 6 commits into
masterfrom
fix/unimod-postgres

Conversation

@levitsky
Copy link
Copy Markdown
Owner

@levitsky levitsky commented Apr 28, 2026

Fixes #47.

This makes changes to several column types (from VARCHAR to Unicode) , ensures fixed model loading order to satisfy FK constraints, and handles errors where foreign keys are missing (seems to be the case in the Unimod XML file).

P.S. Check failure is unrelated. This PR adds new dedicated step to test with a live PostgreSQL database, and it passes.

levitsky and others added 4 commits April 28, 2026 18:20
…s compatibility

Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@levitsky levitsky changed the title PostgreSQL compatibility PostgreSQL compatibility for Unimod May 4, 2026
levitsky and others added 2 commits May 4, 2026 15:29
@levitsky
Copy link
Copy Markdown
Owner Author

levitsky commented May 4, 2026

@mobiusklein Just a heads-up about this - it updates unimod.py again and changes column types. Do you think these changes are okay or should we be more careful with compatibility?

@mobiusklein
Copy link
Copy Markdown
Contributor

mobiusklein commented May 5, 2026

The UnicodeText changes might be slow things down on Postgres because they use out-of-band storage for Text/Clob types, but I am not too concerned there. If it works, great.

@levitsky levitsky merged commit e14e164 into master May 5, 2026
17 checks passed
@levitsky levitsky deleted the fix/unimod-postgres branch May 5, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with loading Unimod into PostgreSQL

2 participants