Re: Why does pg_bsd_indent need to be installed?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why does pg_bsd_indent need to be installed?
Дата
Msg-id 1470081.1685020185@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why does pg_bsd_indent need to be installed?  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: Why does pg_bsd_indent need to be installed?  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgindent vs. pgperltidy command-line arguments