sql: implement database object comments #26617
Labels
A-schema-descriptors
Relating to SQL table/db descriptor handling.
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
PostgreSQL supports adding descriptive comments on arbitrary database objects: https://www.postgresql.org/docs/10/static/sql-comment.html
This is commonly used in UI tools to show a descriptive message to the user about the purpose of a table, column, etc.
Besides compatibility with pg, adding this feature to CockroachDB would enable us to produce contextual help for the various virtual tables in
crdb_internal
./cc @tschottdorf
The text was updated successfully, but these errors were encountered: