Re: Why does pg_bsd_indent need to be installed? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Why does pg_bsd_indent need to be installed?
Date
Msg-id ZHeSw+osqfEVug81@momjian.us
Whole thread Raw
In response to Re: Why does pg_bsd_indent need to be installed?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Why does pg_bsd_indent need to be installed?
List pgsql-hackers
On Wed, May 31, 2023 at 01:21:05PM -0400, Tom Lane wrote:
> Peter Eisentraut <peter@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  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why does pg_bsd_indent need to be installed?
Next
From: Yugo NAGATA
Date:
Subject: Re: Incremental View Maintenance, take 2