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 1gwaM8-0006hr-2w for pgsql-general@arkaria.postgresql.org; Wed, 20 Feb 2019 22:28:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gwaM6-0001ys-JJ for pgsql-general@arkaria.postgresql.org; Wed, 20 Feb 2019 22:28:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwaM5-0001u8-W0 for pgsql-general@lists.postgresql.org; Wed, 20 Feb 2019 22:28:42 +0000 Received: from mail-it1-x142.google.com ([2607:f8b0:4864:20::142]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwaM2-00022S-VD for pgsql-general@postgresql.org; Wed, 20 Feb 2019 22:28:40 +0000 Received: by mail-it1-x142.google.com with SMTP id z131so19326610itf.5 for ; Wed, 20 Feb 2019 14:28:38 -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=SC4XGB7tbBLwiCaasUvdoFcT3PGQZDs517f8yOJxLpE=; b=GPgDg0xleH/O9Bj6n8Owu+OKvki0JT/PqcAprLX88UiUURpsspoaj/c0Io6CnFZ52w kyWUCm3LXYF+WZlEzL7aZ7kSYQL/K0oyQ+HYd+UeDFkOZV8aBpdih3jp037Y75BqyvUm CZ+C/fbqEEnI6Z/flycGbBbm1N+uZHwSLA4/OwPNW756XkjiT+Gi5JkO946p7SXQL+XQ nmnI64Qz+gZ8wFRimzfrrePtd3yA9Zy+KWrdtpVZTX57HlBFXciGYuQDDb7gZh3Af7mg km+uINJBMWdxaZm+8p3EWXoL6EJeINmBqQeDOLGWfydkV0HFEejV+wh+NXFtMof/hB1R oHYw== 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=SC4XGB7tbBLwiCaasUvdoFcT3PGQZDs517f8yOJxLpE=; b=ufEcWQez0AwO0WZpzpt66aXlUgblqxpEuxwQW4VrMjxkyvg/tFV8zt4RBEL2F0YloV Ypji7Hvul/6uXiCs+Y/qOII8EZ7+q/K+sxNFWL/wv3Uyu2j+BTIiLZn3KPAN2GGALL7T YxqpYBeH+rVlAgq/JZ3jib3MT9ZDihpgF59YBn9g9u8qpE3rx4MxgQCjlZ3YeyxjtCFK F7bqEhOcO3BxHzg2dK9+AWHEM3q9H3r27ltIBao7nuWY6ljmhywYaRLmiNdKlOVy3vBl envcJuKkrk7C8zsDhU3BwOyyazvniac2629Ed7BZ4Vf1l2IMkdB1QsbAQW9H8eohUVML ggeQ== X-Gm-Message-State: AHQUAubEBdZwRYX+nUTpCtyMGtAfPxb6SwKnv85pp0iax2ru+pwKuCIV Qwl9Qq8BZCymYcxEreJn/fDHOwKv X-Google-Smtp-Source: AHgI3Ib+hA4bfOW2G1P1YR67eL3btT+4lj42V4+ws1sGAhT45RfEdRrkjGriuHn9v77zjYsfhQ4PrA== X-Received: by 2002:a24:45a3:: with SMTP id c35mr6437139itd.37.1550701717997; Wed, 20 Feb 2019 14:28:37 -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 e19sm8060963iob.70.2019.02.20.14.28.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Feb 2019 14:28:37 -0800 (PST) From: Vincent Predoehl Content-Type: multipart/alternative; boundary="Apple-Mail=_F508BA2D-9E38-4405-B265-2DD677EFA0D2" Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Plpythonu extension Date: Wed, 20 Feb 2019 16:28:35 -0600 References: <6B7985CF-D7A3-433F-B44F-EABC9856B331@gmail.com> <51871341-bb44-d358-c966-e52160e52f72@aklaver.com> <02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com> To: pgsql-general@postgresql.org In-Reply-To: <02b03791-595f-9e06-9003-57dd5c2a2314@aklaver.com> Message-Id: X-Mailer: Apple Mail (2.3445.102.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Apple-Mail=_F508BA2D-9E38-4405-B265-2DD677EFA0D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 20, 2019, at 10:13 AM, Adrian Klaver = wrote: >=20 > On 2/20/19 8:06 AM, Vincent Predoehl wrote: >> Ok, thanks guys. I already tried: >> brew install postgres --with-python >> With no success=E2=80=A6 >=20 > See Peters post and it's link to: >=20 > https://github.com/Homebrew/homebrew-core/pull/36074 = >=20 > Seems options are no longer allowed in Homebrew. I agree. It appears most of the solutions I have been trying will no = longer work. =46rom Adrian=E2=80=99s post: 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 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 >=20 >>> On Feb 20, 2019, at 10:01 AM, Adrian Klaver = = >> = wrote: >>>=20 >>> 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. >>>=20 >>> All I can find is: >>>=20 >>> = https://stackoverflow.com/questions/38062512/install-plpython-on-mac-with-= python-2-7 >>>=20 >>> Not sure how helpful that is. Though it does seem to be an option = here: >>>=20 >>> https://formulae.brew.sh/formula/postgresql >>>=20 >>> postgresql --with-python >>>=20 >>> Otherwise you might try the Homebrew forum: >>>=20 >>> https://discourse.brew.sh/latest >>>=20 >>>> Thanks=E2=80=A6 >>>=20 >>>=20 >>> --=20 >>> Adrian Klaver >>> adrian.klaver@aklaver.com >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com --Apple-Mail=_F508BA2D-9E38-4405-B265-2DD677EFA0D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

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=E2=80=A6

See Peters post and it's link = to:

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.


=46rom= Adrian=E2=80=99s post:


All I can find is:

https://stackoverflow.com/questions/38062512/install-plpython-o= n-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


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.  


On Feb 20, 2019, at = 10:01 AM, Adrian Klaver <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-o= n-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=E2=80=A6


-- 
Adrian = Klaver
adrian.klaver@aklaver.com


-- Adrian Klaver
adrian.klaver@aklaver.com

= --Apple-Mail=_F508BA2D-9E38-4405-B265-2DD677EFA0D2--