Re: Why does pg_bsd_indent need to be installed?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why does pg_bsd_indent need to be installed?
Date: 2023-05-31 18:32:35
Message-ID: ZHeSw+osqfEVug81@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 31, 2023 at 01:21:05PM -0400, Tom Lane wrote:
> Peter Eisentraut <peter(at)eisentraut(dot)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(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo NAGATA 2023-05-31 18:47:03 Re: Incremental View Maintenance, take 2
Previous Message Tom Lane 2023-05-31 17:21:05 Re: Why does pg_bsd_indent need to be installed?