Re: Plpythonu extension

From: Vincent Predoehl <vpredoehl(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Plpythonu extension
Date: 2019-02-20 22:28:35
Message-ID: BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Feb 20, 2019, at 10:13 AM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
>
> On 2/20/19 8:06 AM, Vincent Predoehl wrote:
>> Ok, thanks guys. I already tried:
>> brew install postgres --with-python
>> With no success…
>
> See Peters post and it's link to:
>
> https://github.com/Homebrew/homebrew-core/pull/36074 <https://github.com/Homebrew/homebrew-core/pull/36074>
>
> Seems options are no longer allowed in Homebrew.

I agree. It appears most of the solutions I have been trying will no longer work.

From Adrian’s post:

All I can find is:

https://stackoverflow.com/questions/38062512/install-plpython-on-mac-with-python-2-7 <https://stackoverflow.com/questions/38062512/install-plpython-on-mac-with-python-2-7>

Not sure how helpful that is. Though it does seem to be an option here:

https://formulae.brew.sh/formula/postgresql <https://formulae.brew.sh/formula/postgresql>

postgresql --with-python

I am not really sure how the Brew system works, but it appears it is possible to request a fork or branch from the main project that will have the —with-python option enabled by default. All I’m trying to do is learn PostgreSQL. Can somebody just “tell” me how to get postgresql installed with python? I am quickly getting in over my head.

>
>>> On Feb 20, 2019, at 10:01 AM, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com> <mailto:adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>>> wrote:
>>>
>>> On 2/20/19 6:46 AM, Vincent Predoehl wrote:
>>>> hi
>>>> I have PostgreSQL 11.1 installed on MacOS X Mojave and I used brew to do the install. It appears that the extension plpython was not included in the default installation and I would like to know how to install it.
>>>
>>> All I can find is:
>>>
>>> https://stackoverflow.com/questions/38062512/install-plpython-on-mac-with-python-2-7
>>>
>>> Not sure how helpful that is. Though it does seem to be an option here:
>>>
>>> https://formulae.brew.sh/formula/postgresql
>>>
>>> postgresql --with-python
>>>
>>> Otherwise you might try the Homebrew forum:
>>>
>>> https://discourse.brew.sh/latest
>>>
>>>> Thanks…
>>>
>>>
>>> --
>>> Adrian Klaver
>>> adrian(dot)klaver(at)aklaver(dot)com
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Sargent 2019-02-20 22:36:16 Re: Copy entire schema A to a different schema B
Previous Message Tiffany Thang 2019-02-20 22:22:46 Re: Copy entire schema A to a different schema B