Comments in PostgreSQL
suggest changeIntroduction
COMMENT sets or replaces the comment on a database object.
Only one comment string is stored on each object. Use it to record what that object is for.
The rule for COMMENT ON ROLE is that you must be a superuser to comment on a superuser role, or have the CREATEROLE privilege to comment on non-superuser roles. A superuser can comment on anything.
Syntax
COMMENT ON object_type object_name IS 'text';
Remarks
For the full syntax, see: http://www.postgresql.org/docs/current/static/sql-comment.html
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents