Re: What generates pg_config.h?

Поиск
Список
Период
Сортировка
От Travis Allison
Тема Re: What generates pg_config.h?
Дата
Msg-id CAEJ64ta5QTU=fCUa-fBtGAr34jwQXoAiTcGf5p1oDRr_=rsMVw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: What generates pg_config.h?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: What generates pg_config.h?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Tom, I guess I don't understand the point of having a different pg_config.h in my user/include/postgresql directory than the postgresql server that I am running.  You mentioned building client code that would reference the pg_config.h in user/include/postgresql.  A couple of questions:

What type of client code are you referring to?  
What is the point of having a pg_config.h for a server that I am not even running? 

Travis





On Fri, Jan 5, 2018 at 8:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Travis Allison <travisallison@gmail.com> writes:
> I suppose an easy workaround is to copy my version 9.6 pg_config.h into my
> user/include/postgresql directory and replace the one installed by
> libpq-dev.

> Can you think of any detrimental side-effects from doing that?

I would not recommend that: it's likely to break code that's expecting
the Ubuntu-standard layout.  I think your best course is to adapt the
particular package you're having trouble with to work with that layout.
Maybe contact its author for help?

                        regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What generates pg_config.h?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: What generates pg_config.h?