Re: [PATCH] check for ctags utility in make_ctags - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] check for ctags utility in make_ctags
Date
Msg-id 4273.1546446946@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] check for ctags utility in make_ctags  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: [PATCH] check for ctags utility in make_ctags  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 01/01/2019 17:44, Nikolay Shaplov wrote:
>> +if [ ! $(command -v ctags) ]
>> +then
>> +  echo "'ctags' utility is not found" 1>&2
>> +  echo "Please install 'ctags' to run make_ctags" 1>&2
>> +  exit 1
>> +fi

> This assumes that the ctags and etags programs are part of packages of
> the same name.  I don't think that is always the case.

In fact, that's demonstrably not so: on my RHEL6 and Fedora boxes,
/usr/bin/etags isn't owned by any package, because it's a symlink
managed by the "alternatives" system.  It points to /usr/bin/etags.emacs
which is owned by the emacs-common package.  So dropping the advice
about how to fix the problem seems like a good plan.

            regards, tom lane


pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: backslash-dot quoting in COPY CSV
Next
From: Tomas Vondra
Date:
Subject: Re: [HACKERS] Removing [Merge]Append nodes which contain a singlesubpath