Re: pgindent issue with EXEC_BACKEND-only typedefs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgindent issue with EXEC_BACKEND-only typedefs
Дата
Msg-id 679.1197849202@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgindent issue with EXEC_BACKEND-only typedefs  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pgindent issue with EXEC_BACKEND-only typedefs  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Alvaro Herrera wrote:
>> It seems pgindent is not considering EXEC_BACKEND typedefs.

> Yep.  The cause is that find_typedefs actually pulls the typedef out of
> the debugged-enabled binary, and on Unix those functions aren't used by
> default.  This is spelled out in the pgindent/README in CVS.

> I could just EXEC_BACKEND in the debug build I use but I suppose there
> are other typedef I am missing as well.  Any idea on a more
> comprehensive solution to finding typedefs?

I guess that explains why plpython.c and most of contrib have similar
problems.

If you want to do this on the basis of precompiled code, you need to
enable every optional feature in your build, and include the PLs and
contrib modules not only the core backend.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Negative LIMIT and OFFSET?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: test