3 ms·
> Just so I know for future reference, what system do you use for DB object comments? Postgres supports this natively (there was actually an earlier HN post to
by hn_throwaway_99 3y ago
> Just so I know for future reference, what system do you use for DB object comments?
Postgres supports this natively (there was actually an earlier HN post today about "little known Postgres features" that mentioned it): https://www.postgresql.org/docs/current/sql-comment.html https://www.postgresql.org/docs/current/sql-comment.html
We use it extensively because tools like Datagrip will display these comments in the schema browser. It would be pretty trivial I imagine to update your tool to pull these comments from the Postgres schema.
- e12e 3y ago> (there was actually an earlier HN post today about "little known Postgres features" that mentioned it) "Lesser Known Postgres Features (2021)": https://news.ycombinator.com/item?id=37309309 https://news.ycombinator.com/item?id=37309309