make_ctags: use -I option to ignore pg_node_attr macro

Поиск
Список
Период
Сортировка
От Yugo NAGATA
Тема make_ctags: use -I option to ignore pg_node_attr macro
Дата
Msg-id 20221007154442.76233afc7c5b255c4de6528a@sraoss.co.jp
обсуждение исходный текст
Ответы Re: make_ctags: use -I option to ignore pg_node_attr macro  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Hi,

I found that tag files generated by src/tools/make_ctags
doesn't include some keywords, that were field names of node
structs, for example norm_select in RestrictInfo. Such fields
are defined with pg_node_attr macro that was introduced
recently, like:

    Selectivity norm_selec pg_node_attr(equal_ignore);

In this case, pg_node_attr is mistakenly interpreted to be
the name of the field. So, I propose to use -I option of ctags
to ignore the marco name. Attached is a patch to do it.

Regards,
Yugo Nagata 

-- 
Yugo NAGATA <nagata@sraoss.co.jp>

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: use has_privs_of_role() for pg_hba.conf
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Adding Support for Copy callback functionality on COPY TO api