pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vincent Predoehl <vpredoehl@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Plpythonu extension
Date: Wed, 20 Feb 2019 16:28:35 -0600
Message-ID: <BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com> (raw)
In-Reply-To: <02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com>
References: <6B7985CF-D7A3-433F-B44F-EABC9856B331@gmail.com>
	<51871341-bb44-d358-c966-e52160e52f72@aklaver.com>
	<A4152292-6754-45EF-B47E-BA52868516A7@gmail.com>
	<02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com>



> On Feb 20, 2019, at 10:13 AM, Adrian Klaver <adrian.klaver@aklaver.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.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com> <mailto:adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.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.klaver@aklaver.com
> 
> 
> -- 
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>

view thread (12+ messages)  latest in thread

Message-ID: <BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com>
Permalink:  ../BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com/
Also on:    postgresql.org/message-id/BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: vpredoehl@gmail.com
  Subject: Re: Plpythonu extension
  In-Reply-To: <BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com>
  References: <6B7985CF-D7A3-433F-B44F-EABC9856B331@gmail.com> <51871341-bb44-d358-c966-e52160e52f72@aklaver.com> <A4152292-6754-45EF-B47E-BA52868516A7@gmail.com> <02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com> <BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox