pgsql: Distinguish between C and SQL mode for C-style comments.

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема pgsql: Distinguish between C and SQL mode for C-style comments.
Дата
Msg-id E1VkXqo-0002kz-H3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Distinguish between C and SQL mode for C-style comments.

SQL standard asks for allowing nested comments, while C does not. Therefore the
two comments, while mostly similar, have to be parsed seperately.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8ac5e88f9fc54c480ed1419c0ce94f54653fe8c3

Modified Files
--------------
src/interfaces/ecpg/preproc/pgc.l |   39 +++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Defend against bad trigger definitions in contrib/lo's lo_manage
Следующее
От: Michael Meskes
Дата:
Сообщение: pgsql: Allow C array definitions to use sizeof().