Re: Frustrating issue with PGXS

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Frustrating issue with PGXS
Дата
Msg-id 20070625144954.GG19058@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: Frustrating issue with PGXS  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Frustrating issue with PGXS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Jun 25, 2007 at 10:43:37AM -0400, Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
> > I was actually about to post on this just a couple of days ago - it seems
> > pgxs really needs pg_config to be in your PATH.
> 
> Correct --- how else is it going to find out where the installation is?

You can specify the full path in the command to pg_config in your Makefile.
It'd be neat if the makefile could fint that out and use it for further
references to pg_config. I haven't had time to look into if this is at all
possible, though.

This is the easy error btw - you can get some fairly funky results if you
have 8.3devel locally and then say 8.0 with different compile options in
your PATH. Then it'll use your 8.3devel pg_config for the first step and
then fall back on the one in the PATH for later steps..

//Magnus


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: [PATCHES] New Zealand - TZ change
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: msvc and vista fun