We are no longer accepting contributions to Documentation. Please see our post on meta.

postgresql

Comments in postgresql 9.2–9.6

8.4
9.0
9.1
9.2
9.3
9.4
9.5
9.6

COMMMENT main purpose is to define or change a comment on database object.

Only a single comment(string) can be given on any database object.COMMENT will help us to know what for the particular database object has been defined whats its actual purpose is.

The rule for COMMENT ON ROLE is that you must be superuser to comment on a superuser role, or have the CREATEROLE privilege to comment on non-superuser roles. Of course, a superuser can comment on anything

This draft deletes the entire topic.

Examples

Please consider making a request to improve this example.

Syntax

  • COMMENT ON database_object object_name IS 'Text';

Parameters

Parameters

Still have a question about Comments in postgresql? Ask Question

Topic Outline


    We are no longer accepting contributions to Documentation. Drafts cannot be modified.