agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Tatsuo Ishii <ishii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Enhance make_ctags and make_etags.
Date: Wed, 19 Oct 2022 04:22:22 +0000
Message-ID: <E1ol0b0-0030wJ-6I@gemulon.postgresql.org> (raw)

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(-)



view thread (3+ messages)  latest in thread

Message-ID: <E1ol0b0-0030wJ-6I@gemulon.postgresql.org>
Permalink:  ../E1ol0b0-0030wJ-6I@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ol0b0-0030wJ-6I@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: ishii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Enhance make_ctags and make_etags.
  In-Reply-To: <E1ol0b0-0030wJ-6I@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox