Identifying comments

Поиск
Список
Период
Сортировка
Искать
От
Rich Shepard
Тема
Identifying comments
Дата
Msg-id
alpine.LNX.2.20.1901170729370.13573@salmo.appl-ecosys.com
Список
Дерево обсуждения
Identifying comments Rich Shepard <rshepard@appl-ecosys.com>
Re: Identifying comments [ANSWERED] Rich Shepard <rshepard@appl-ecosys.com>
Re: Identifying comments [ANSWERED] "David G. Johnston" <david.g.johnston@gmail.com>
I know that "--" has been the single-line comment identifier since SQL was
implemented by IBM on mainframes using Hollerith cards. Today, some RDBMSs
also allow the C comment indentifier pair, /* ... */.

The postgres10 manual when searched for 'comments' presents the double
hyphens and, in Section 4.1.3, on the top line of page 39, I read that "--
and /* cannot appear anywhere in an operator name, since they will be taken
as the start of a comment."

I want only to confirm that I can use /* ... */ for multiline comments in my
DDL and DML scripts.

TIA,

Rich


В списке pgsql-general по дате отправления
От: David G. Johnston
Дата:
Сообщение: Re: pgbouncer
От: Rich Shepard
Дата:
FAQ