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

From Tom Lane
Subject Re: Why does pg_bsd_indent need to be installed?
Date
Msg-id 1470081.1685020185@sss.pgh.pa.us
Whole thread Raw
In response to Why does pg_bsd_indent need to be installed?  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: Why does pg_bsd_indent need to be installed?
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> Why does pgindent require that pg_bsd_indent be installed in the path? 
> Couldn't pgindent call the pg_bsd_indent built inside the tree?  That 
> would make the whole process much smoother.

Well, the current expectation is that you run it in a distclean'd
tree, in which case it won't be there.  VPATH builds would have
a problem finding it as well.

I'm not sure if there's any problem in applying it in a built-out
tree, but the VPATH scenario seems like a problem in any case,
especially since (IIUC) meson builds have to be done that way.

I wouldn't object to adding more logic to the calling script
to support multiple usage scenarios, of course.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Next
From: Tom Lane
Date:
Subject: Re: pgindent vs. pgperltidy command-line arguments