From: Vincent Predoehl <vpredoehl@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Plpythonu extension
Date: Wed, 20 Feb 2019 20:49:23 -0600
Message-ID: <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@gmail.com> (raw)
In-Reply-To: <484c465f-257c-ef65-111e-338de60293f3@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>
<BC227E72-65E9-4B40-8664-D186FE5F9BB5@gmail.com>
<484c465f-257c-ef65-111e-338de60293f3@aklaver.com>
> On Feb 20, 2019, at 6:26 PM, Adrian Klaver <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> wrote:
>
> On 2/20/19 2:28 PM, Vincent Predoehl wrote:
>
>> 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.
>
> Per a previous suggestion from Anthony:
>
> Postgres.app
> https://postgresapp.com/ <https://postgresapp.com/;
>
> Or from Peter's post:
>
> https://github.com/petere/homebrew-postgresql <https://github.com/petere/homebrew-postgresql;
Sorry, I forgot to mention that I tried Peter’s post and there were clear instructions. However, the default install still did not include plpythonu. This is what I did:
brew tap petere/postgresql
Then
brew install petere/postgresql --with-python
Which failed with invalid option —with-python.
Also tried
brew install petere/postgresql
Without any options. It installed, but without the plpythonu extension.
I ran brew uninstall postgresql before trying any install command, of course.
I browsed the repo file postgresql@11.rb <mailto:postgresql@11.rb> and the script did include the —with-python option, but I don’t know enough about Brew to understand why it didn’t work or if the script was actually used for the installation.
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
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: <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@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> <484c465f-257c-ef65-111e-338de60293f3@aklaver.com> <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@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