The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/18/sql-altertable.html
Description:
after spending some time searching for how to do comments, maybe some
documentation could be made clearer:
links from 'create table', 'alter table' to
https://www.postgresql.org/docs/current/sql-comment.html (maybe in the 'see
also' section).
and in 'comment' part, mention that comments on columns can be seen with \d+
and comments on tables with \dt+ (\dv+ on views)
so from 'Comments can be viewed using psql's \d family of commands.' to
something like 'Comments can be viewed using psql's \d family of commands.
To see comments on columns, use \d+ table_name command, for comment on the
table itself, use \dt+ table_name command'.
thanks for wonderful work on documentation
Michal