Documenting your PostgreSQL database
Just a few days ago I was surprised by what someone was doing with their database, and not in the typical horrifying travesty against mankind. Rather, it was a feature that while familiar with I’d never seen anyone fully take proper advantage of - COMMENT
or describing tables. Postgres has a nice facility for you to provide a description for just about anything:
- Table
- Column
- Function
- Schema
- View
- Index
- Etc.