Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.
Дата
Msg-id 017eed62-8206-f2f9-a6e6-b59810b37def@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
On 2019-09-25 00:13, Tom Lane wrote:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
>> PostgreSQL 12 requires C99, so those guidelines should probably be
>> rephrased from "because old compilers don't accept it" to "because we
>> like it that way".
> 
> Yeah, or more formally "to encourage consistent coding style".

fixed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Logical replication restriction documentation
Следующее
От: PG Doc comments form
Дата:
Сообщение: default_tablespace and parallel queries