pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Configure Python 3
4+ messages / 3 participants
[nested] [flat]

* Configure Python 3
@ 2017-09-13 05:28  Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Ashok Kumar Tiwari @ 2017-09-13 05:28 UTC (permalink / raw)
  To: pgsql-admin

Hi

Any one know how to configure  python 3 .
I want to create pllanguage3U in postgres.


-- 
Ashok Kumar Tiwari,
Senior Technical Consultant,
ashokt@ohumhealthcare.com,
*M*:+91-9657628833

-- 


[image: 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.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Configure Python 3
@ 2017-09-13 14:00  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Tom Lane @ 2017-09-13 14:00 UTC (permalink / raw)
  To: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>; +Cc: pgsql-admin

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


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Configure Python 3
@ 2017-09-13 17:05  Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
  parent: Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 4+ messages in thread

From: Ashok Kumar Tiwari @ 2017-09-13 17:05 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: 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,
ashokt@ohumhealthcare.com,
*M*:+91-9657628833

-- 


[image: 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.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Configure Python 3
@ 2017-09-13 20:01  Raghavendra <raghavendra.rao@enterprisedb.com>
  parent: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Raghavendra @ 2017-09-13 20:01 UTC (permalink / raw)
  To: Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>; +Cc: Tom Lane <tgl@sss.pgh.pa.us>; pgsql-admin

On Wed, Sep 13, 2017 at 12:05 PM, Ashok Kumar Tiwari <
ashokt@ohumhealthcare.com> wrote:

> 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
>
> ​I have given an attempt of creating plpython3u language using SCL
distribution of python3. If you are trying with other distribution the
steps should be same IMO.

https://raghavt.blogspot.com/2017/09/create-language-plpython3u-postgresql-96.html

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2017-09-13 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-09-13 05:28 Configure Python 3 Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2017-09-13 14:00 ` Tom Lane <tgl@sss.pgh.pa.us>
2017-09-13 17:05   ` Ashok Kumar Tiwari <ashokt@ohumhealthcare.com>
2017-09-13 20:01     ` Raghavendra <raghavendra.rao@enterprisedb.com>

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