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 1gwgf9-0001jl-BW for pgsql-general@arkaria.postgresql.org; Thu, 21 Feb 2019 05:12:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gwgf6-0003LY-Vj for pgsql-general@arkaria.postgresql.org; Thu, 21 Feb 2019 05:12:44 +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 1gwgf5-0003Ef-KA for pgsql-general@lists.postgresql.org; Thu, 21 Feb 2019 05:12:44 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwgf0-0002Xp-3G for pgsql-general@postgresql.org; Thu, 21 Feb 2019 05:12:42 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 540CB21F3F; Thu, 21 Feb 2019 00:12:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 21 Feb 2019 00:12:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=x kgXxQohhs2M5+0aWP9+1EcJOF7P6KqIWXrX0qN9Voc=; b=xbpM4A1ZqcxFak17I iQdtiKaMlML3aeI6US4dva+x0AJjL4N/WdMifbrhKzP92p05GSQrI94K1wEAt0Ls Wzzv+lhuFUMrsxTIjVBgzfPRRItNcLXqC0I1HSp8/eRqJRey9lzPhakdyxa+sNtP SJu0OgE0mCz7vhT4ljG7y++YVIGMnH5t/esH8+JAiyL3HpaOdGrSJhulsW/Fl75G mEm88NndFwGQw5Lz3yNDHJ8IKTdllFxI0ywigkgoAatK6eaqrYGaGrhZht1L+hGD nW4wIEeclHFkX1YGOVRWnAF5WwU3B4XNXtxcSFV/bZZpN9c2Mmztk+WwVYdG2a4f RojUA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=xkgXxQohhs2M5+0aWP9+1EcJOF7P6KqIWXrX0qN9V oc=; b=ZpMPpPFYk2H6ed/BmXTF95iiqQmUs61ropWNQhlezijkDMsVaogufllDV Zq7OOan17aG4C6m9H+jPqElVJxp7OPqW9a464ClA1mQ0oSDz5UGNI/DfR6NX1I75 uKCFFu05hmHA8Wph+nKh3m5iWJuDzaLk2cExXbV55ZaqecxxOrtsfgq4nMw54iBf FJs5/076kcuORsSHDUtYCKu4DNJ6f0RbvuydumPHa1mhxoEs4MhURyyQzETXdhL5 OThBqGW/B4oCrRg+wA5uc2/h0YmatMma44nwyXC2gxophe4m8xnVxf1khKZkNBfJ B5T8sAzJRgxQCv4BQzSumF9ci2zBw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrtdejgdektdculddtuddrgedtledrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhpohhsthhgrhgvshgrphhprdgt ohhmnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrh homheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 15F15E4210; Thu, 21 Feb 2019 00:12:35 -0500 (EST) Subject: Re: Plpythonu extension To: Vincent Predoehl , pgsql-general@postgresql.org 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> <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@gmail.com> From: Adrian Klaver Message-ID: Date: Wed, 20 Feb 2019 21:12:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <97AB1AA9-6839-40D3-954B-22BBBA3E66A8@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2/20/19 6:49 PM, Vincent Predoehl wrote: > > >> On Feb 20, 2019, at 6:26 PM, Adrian Klaver > > 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/ >> >> Or from Peter's post: >> >> 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 I am not a Mac user and therefore do not use Homebrew, so take the below with that in mind. Have you tried?: brew install petere/postgresql/postgresql@11 --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  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 > -- Adrian Klaver adrian.klaver@aklaver.com