News for hackers. Stuff that matters.
Re:Documenting your PostgreSQL database by mianos on Monday July 27, 2015 @01:48AM (#9953557)
Not to harp on about it, but, if you use python, an ORM, like sqlalchemy can make documenting a schema much more manageable. Although it is saying the same thing, it is mainly because the relationships and derivations are more compact, in-line and not spread all over the place. I have taken to making a new git project with the just the schema and making it a dependency of the project.
Re:Documenting your PostgreSQL database by fibo on Monday July 27, 2015 @02:27AM (#9953672)
Ahah, probably if Postgres were written in python it would self document its data models
Re:Documenting your PostgreSQL database by mianos on Monday July 27, 2015 @03:09AM (#9953806)
It would not be real quick though :) SQLA, Python and Postgres the best of both worlds, and another world.