agora inbox for pgsql-committers@postgresql.orghelp / color / mirror / Atom feed
pgsql: Enhance make_ctags and make_etags. 3+ messages / 2 participants [nested] [flat]
* pgsql: Enhance make_ctags and make_etags. @ 2022-10-19 04:22 Tatsuo Ishii <ishii@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Tatsuo Ishii @ 2022-10-19 04:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enhance make_ctags and make_etags. make_ctags did not include field members of structs since the commit 964d01ae90c314eb31132c2e7712d5d9fc237331. For example, in the following field of RestrictInfo: Selectivity norm_selec pg_node_attr(equal_ignore); pg_node_attr was mistakenly interpreted to be the name of the field. To fix this, add -I option to ctags command if the command is Exuberant ctags or Universal ctags (for plain old ctags, struct members are not included in the tags file anyway). Also add "-e" and "-n" options to make_ctags. The -e option invokes ctags command with -e option, which produces TAGS file for emacs. This allows to eliminate duplicate codes in make_etags so that make_etags just exec make_ctags with -e option. The -n option allows not to produce symbolic links in each sub directory (the default is producing symbolic links). Author: Yugo Nagata Reviewers: Alvaro Herrera, Tatsuo Ishii Discussion: https://postgr.es/m/flat/20221007154442.76233afc7c5b255c4de6528a%40sraoss.co.jp Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d1e2a380cb911f6f0840a8eb54dbf6e39e9c3f98 Modified Files -------------- src/tools/make_ctags | 54 +++++++++++++++++++++++++++++++++++++++++++--------- src/tools/make_etags | 16 +++------------- 2 files changed, 48 insertions(+), 22 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Enhance make_ctags and make_etags. @ 2026-04-09 22:59 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2026-04-09 22:59 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enhance make_ctags and make_etags. make_ctags did not include field members of structs since the commit 964d01ae90c314eb31132c2e7712d5d9fc237331. For example, in the following field of RestrictInfo: Selectivity norm_selec pg_node_attr(equal_ignore); pg_node_attr was mistakenly interpreted to be the name of the field. To fix this, add -I option to ctags command if the command is Exuberant ctags or Universal ctags (for plain old ctags, struct members are not included in the tags file anyway). Also add "-e" and "-n" options to make_ctags. The -e option invokes ctags command with -e option, which produces TAGS file for emacs. This allows to eliminate duplicate codes in make_etags so that make_etags just exec make_ctags with -e option. The -n option allows not to produce symbolic links in each sub directory (the default is producing symbolic links). This includes the follow-up fixes: 87f21d2c6890 and ae66716bf3ef. This change is applied to v15 and v14, v16 and nwer versions already including these improvements. One reason why I am doing this backpatch is that this can be really useful for backpatching purposes, especially the -n option that limits the number of TAGS/tags files created in the tree. Author: Yugo Nagata Reviewers: Alvaro Herrera, Tatsuo Ishii Discussion: https://postgr.es/m/flat/20221007154442.76233afc7c5b255c4de6528a%40sraoss.co.jp Discussion: https://postgr.es/m/adcKr7fob5ZvjhlH@paquier.xyz Backpatch-through: 14 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a7c41df1f2fdfba42d09a978213066d941e45c9b Author: Tatsuo Ishii <ishii@postgresql.org> Modified Files -------------- src/tools/make_ctags | 91 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 71 insertions(+), 20 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Enhance make_ctags and make_etags. @ 2026-04-09 22:59 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2026-04-09 22:59 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Enhance make_ctags and make_etags. make_ctags did not include field members of structs since the commit 964d01ae90c314eb31132c2e7712d5d9fc237331. For example, in the following field of RestrictInfo: Selectivity norm_selec pg_node_attr(equal_ignore); pg_node_attr was mistakenly interpreted to be the name of the field. To fix this, add -I option to ctags command if the command is Exuberant ctags or Universal ctags (for plain old ctags, struct members are not included in the tags file anyway). Also add "-e" and "-n" options to make_ctags. The -e option invokes ctags command with -e option, which produces TAGS file for emacs. This allows to eliminate duplicate codes in make_etags so that make_etags just exec make_ctags with -e option. The -n option allows not to produce symbolic links in each sub directory (the default is producing symbolic links). This includes the follow-up fixes: 87f21d2c6890 and ae66716bf3ef. This change is applied to v15 and v14, v16 and nwer versions already including these improvements. One reason why I am doing this backpatch is that this can be really useful for backpatching purposes, especially the -n option that limits the number of TAGS/tags files created in the tree. Author: Yugo Nagata Reviewers: Alvaro Herrera, Tatsuo Ishii Discussion: https://postgr.es/m/flat/20221007154442.76233afc7c5b255c4de6528a%40sraoss.co.jp Discussion: https://postgr.es/m/adcKr7fob5ZvjhlH@paquier.xyz Backpatch-through: 14 Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7363e932c4ddb2746dd8676ef0f5af606134dc84 Author: Tatsuo Ishii <ishii@postgresql.org> Modified Files -------------- src/tools/make_ctags | 80 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 66 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-04-09 22:59 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-10-19 04:22 pgsql: Enhance make_ctags and make_etags. Tatsuo Ishii <ishii@postgresql.org> 2026-04-09 22:59 pgsql: Enhance make_ctags and make_etags. Michael Paquier <michael@paquier.xyz> 2026-04-09 22:59 pgsql: Enhance make_ctags and make_etags. Michael Paquier <michael@paquier.xyz>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox