Postgres Documentation Syntax

Created at: 2025-01-10
  1. brackets [, ] indicate optional parts.
  2. Braces {, } and vertical lines | indicate that you must choose one alternative.
  3. Dots ... mean that the preceding element can be repeated.
  4. All other symbols, including parentheses, should be taken literally.

source