Multiline comments : Comments « Postgre SQL « PostgreSQL






Multiline comments


postgres=# -- Multiline comments
postgres=#
postgres=# SELECT 'Multi' /* This comment extends across
postgres*#                 * numerous lines, and can be
postgres*#                 * /* nested safely */ */
postgres-#        || '-test' AS example;
  example
------------
 Multi-test
(1 row)

postgres=#
           
       








Related examples in the same category

1.Single-line comments