Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gweQb-0003WZ-Hq for pgsql-general@arkaria.postgresql.org; Thu, 21 Feb 2019 02:49:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gweQZ-00018W-1v for pgsql-general@arkaria.postgresql.org; Thu, 21 Feb 2019 02:49:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gweQY-00013S-Ng for pgsql-general@lists.postgresql.org; Thu, 21 Feb 2019 02:49:34 +0000 Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gweQR-00011b-00 for pgsql-general@postgresql.org; Thu, 21 Feb 2019 02:49:33 +0000 Received: by mail-it1-x143.google.com with SMTP id g137so8144543ita.0 for ; Wed, 20 Feb 2019 18:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=0wn6E6waaDmN7C1gb9WuWLsGKleYba65eDncZrf1z3E=; b=UXp/bVCBVO11YbKcOTjQn9Vm9tvywoqWd/gHW7XzZva9N70FwI97Ni4e0pmRx2wje8 o8P2VQN44NYENWyhVgfzL2t+ca2qi5ogZEe9AvjJwzfIOcABxMn9ZidQQLUPMm8CkOzU kZ2jKVITyY9UDtTCeAahlAJytX+TrKb1s7Z0YBLNVOYxQtDI0D81+mvVS+IZNA16GU8K 7RiegqCIC9MHWK+ofX+IzItLaGFABBN6Gn+GSXuysJFXkWPZUf5GbW0KVyRVUq2dT3mc hybQO5fLjV14iTMMLNwdYstnhTuLJSh3f2tV22kts9GhhgUMlFDUpKc7R6NeO6h+kXhm jANw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=0wn6E6waaDmN7C1gb9WuWLsGKleYba65eDncZrf1z3E=; b=EVUd4PsXBLOAVLagVMZF/m/4JHW+/PvzRS2HpixQnOn9w2y67CN7l1Q1/2og1oDQwy /DYQb5QNrDRGyH+ousccRn4z+WgQTt7LAc8nFkHlpWKwjUXk7ihSI779ctz9E2cRFpmW UI65D/nI8PggAjqq2Ag4FLmU2th54YN1pw5EdMkhS6unt28/OwJ1hbL1HPD6FsaCKbC7 2iNrdFHpRRpfODvdNVG8SbMLGQRQGcwP25pzu68MPEIsCc3hriQspGZt25H8/cQQ1t7n uazdEcmT7U1U+vw5wIHaa7bBBtIel7RuNXk3u447P2RNduBUqNe3M4LojPwVEuWD9XWg JfCw== X-Gm-Message-State: AHQUAubjHz+3RmPKz86E1VoNl6xB1IAHWDAI8448ZgR/Pi7bdYDpa1gV KRsedPJdOziLGwAkwtalBJhpkwrF X-Google-Smtp-Source: AHgI3IbOAfPvmYTJTuoS7z3Jn0hdsfKUfKbvkv0A/M64oFG+2bDdS3eYrRR8Qoc3coQa87sN4jlUgg== X-Received: by 2002:a24:67c6:: with SMTP id u189mr7247788itc.106.1550717365136; Wed, 20 Feb 2019 18:49:25 -0800 (PST) Received: from [192.168.1.5] (104-218-66-47.dynamic.allophone.net. [104.218.66.47]) by smtp.gmail.com with ESMTPSA id h13sm8942715ioq.72.2019.02.20.18.49.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Feb 2019 18:49:24 -0800 (PST) From: Vincent Predoehl Content-Type: multipart/alternative; boundary="Apple-Mail=_51C466BF-57C2-436D-9AA9-6293D9F165F7" Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Plpythonu extension Date: Wed, 20 Feb 2019 20:49:23 -0600 References: <6B7985CF-D7A3-433F-B44F-EABC9856B331@gmail.com> <51871341-bb44-d358-c966-e52160e52f72@aklaver.com> <02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com> <484c465f-257c-ef65-111e-338de60293f3@aklaver.com> To: pgsql-general@postgresql.org In-Reply-To: <484c465f-257c-ef65-111e-338de60293f3@aklaver.com> Message-Id: <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@gmail.com> X-Mailer: Apple Mail (2.3445.102.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_51C466BF-57C2-436D-9AA9-6293D9F165F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 20, 2019, at 6:26 PM, Adrian Klaver > wrote: >=20 > On 2/20/19 2:28 PM, Vincent Predoehl wrote: >=20 >> 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 =E2=80=94with-python option enabled by default. All I=E2=80=99m = trying to do is learn PostgreSQL. Can somebody just =E2=80=9Ctell=E2=80=9D= me how to get postgresql installed with python? I am quickly getting = in over my head. >=20 > Per a previous suggestion from Anthony: >=20 > Postgres.app > https://postgresapp.com/ >=20 > Or from Peter's post: >=20 > https://github.com/petere/homebrew-postgresql = Sorry, I forgot to mention that I tried Peter=E2=80=99s 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 =E2=80=94with-python. Also tried=20 brew install petere/postgresql=20 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 and = the script did include the =E2=80=94with-python option, but I don=E2=80=99= t know enough about Brew to understand why it didn=E2=80=99t work or if = the script was actually used for the installation. >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com --Apple-Mail=_51C466BF-57C2-436D-9AA9-6293D9F165F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


On Feb 20, 2019, at 6:26 PM, Adrian Klaver <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 = =E2=80=94with-python option enabled by default.  All I=E2=80=99m = trying to do is learn PostgreSQL.  Can somebody just =E2=80=9Ctell=E2= =80=9D 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/

Or = from Peter's post:


Sorry, I forgot to mention that I tried Peter=E2=80=99s 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 =E2=80=94with-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 and the script did include the = =E2=80=94with-python option, but I don=E2=80=99t know enough about Brew = to understand why it didn=E2=80=99t work or if the script was actually = used for the installation.


= --Apple-Mail=_51C466BF-57C2-436D-9AA9-6293D9F165F7--