On Wed, May 31, 2023 at 01:21:05PM -0400, Tom Lane wrote:
> Peter Eisentraut <pe...@eisentraut.org> writes:
> > On 25.05.23 13:05, Tom Lane wrote:
> >> Well, if you know where the build directory is, sure.  But any way you
> >> slice it there is an extra bit of knowledge required.  Since pg_bsd_indent
> >> changes so seldom, keeping it in your PATH is at least as easy as any
> >> other solution, IMO.
> 
> > The reason I bumped into this is that 15 and 16 use different versions 
> > of pg_bsd_indent, so you can't just keep one copy in, like, ~/bin/.
> 
> Well, personally, I never bother to adjust patches to the indentation
> rules of old versions, so using the latest pg_bsd_indent suffices.

I guess we could try looking for pg_bsd_indent-$MAJOR_VERSION first,
then pg_bsd_indent.

-- 
  Bruce Momjian  <br...@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.


Reply via email to