I want to write documentation for my pet project.
I have 30 tables and almost 50 views and about 30 functions (stored procedures) in my PostgreSQL database.
I would like to see where tables are used (which views and which functions).
I would like to see where the views are used (which views and which functions).
I would like to see if a function is being used by another function.
I would also like to write a description of each object (tables, views and functions)
and a brief description of the fields.
Soon I want to see what a specific object is using and which objects use a specific object.
I thought to use a text file for each object as well. I could list the objects that use the current, and which of them are used by the current.
<pre> Table aaaa A short description used by : view v_aaaa id int primary key name varchar(30) name of a... ================================ view v_aaaa A short description list of fields... used by function f_aaaa Depends on table aaaa ============================== function f_aaaa A short description Parameters ( description, IN/OUT ) Depends on view v_aaaa function fbbbb ============================== function f_bbbb A short description Parameters Called by function f_aaaa
I'm afraid my documentation will sync quickly. Imagine adding a function f_cccc that calls f_aaaa and f_bbbb. I will need to change the doc to f_aaaa and f_bbbb
I know that UML describes relationships about objects (does it, right?). But I want something simple, and I donโt want to follow the 75-hour training ... And I'm not sure that you can have a โlinkโ between objects and a function as I want.
Do you have something to offer?
I am using PostgreSQL for Linux (Fedora). If you offer a tool that does this, it should be compatible with PostgreSQL :-)
For my code documentation I use Doxygen.
thanks