Re: [ADMIN] Configure Python 3 - Mailing list pgsql-admin

From Ashok Kumar Tiwari
Subject Re: [ADMIN] Configure Python 3
Date
Msg-id CADQhkWEQjx0hDpHVL1SS3uZpROqo0emYsQ-r7C2Q5kSswYdU-w@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] Configure Python 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [ADMIN] Configure Python 3
List pgsql-admin
i want to create language plpython3u but i am not able to create this language.

by this plpython3u i want to create some function for sending email from database.

if you know steps how configure and create plpython3u please help me. i west my two days but not success


On Wed, Sep 13, 2017 at 7:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Ashok Kumar Tiwari <ashokt@ohumhealthcare.com> writes:
> Any one know how to configure  python 3 .
> I want to create pllanguage3U in postgres.

You have to have chosen python 3 when building postgres, typically
by setting the PYTHON variable while configuring/building.  See
https://www.postgresql.org/docs/current/static/plpython-python23.html

                        regards, tom lane



--
Ashok Kumar Tiwari,
Senior Technical Consultant,
M:+91-9657628833


http://www.blystreecare.com/images/tree-clipart-4.gif Save a tree. Please avoid printing this email unless necessary. 

***** Email confidentiality notice *****

This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.

pgsql-admin by date:

Previous
From: Don Seiler
Date:
Subject: Re: [ADMIN] Upgrade master/slave: rsync?
Next
From: Raghavendra
Date:
Subject: Re: [ADMIN] Configure Python 3