Re: How to include Tablefunc as an extension - Mailing list pgsql-general

From Stefan Schwarzer
Subject Re: How to include Tablefunc as an extension
Date
Msg-id EE3F68A2-441F-477E-BE4A-E62753D0D64F@unep.org
Whole thread Raw
In response to Re: How to include Tablefunc as an extension  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
>> I do as indicated in Kyngchaos ReadMe file:
>
>>    export PATH="/usr/local/pgsql-9.1/bin:$PATH"
>>    export USE_PGXS=1
>>    make
>>    sudo make install
>
> I'm beginning to wonder who are Kyngchaos and whether they are competent
> at all.  They obviously didn't test the above advice.  It does not work
> because sudo clears environment variables (at least for me on OS X
> Lion).  You could possibly do this instead:
>
>     sudo make USE_PGXS=1 install
>
> It would still be running without the custom PATH setting, but likely
> you don't need that for the install step.

A thousand thanks!! This seems to work. At least, it copied the files over to /usr/local/pgsql-9.1/share/extension/.
Unfortunately,I can't yet check the integration of the extension into my database, as my database doesn't want to start
up(see my other mail from this morning).  

Thanks so much!


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to include Tablefunc as an extension
Next
From: Evan Martin
Date:
Subject: Re: Please make it easy to drop a database that is in use