PostgreSQL User's Guide
Prev | Chapter 2. SQL Syntax | Next

# Comments

A comment is an arbitrary sequence of characters beginning with double dashes and extending to the end of the line, e.g.:

    -- This is a standard SQL comment

We also support C-style block comments, e.g.:

    /* multi
       line
       comment
     */

A comment beginning with "/*" extends to the first occurrence of "*/".

Prev | Home | Next
SQL Syntax | Up | Names