简体   繁体   中英

PL/Python in PostgreSQL

I was writing a PL/Python function for PostgreSQl, with Python 2.7 and Python 3.5 already installed on Linux. When I was trying to create extension plpythonu, I got an error, then I fixed executing in terminal the command $ sudo apt-get install postgresql-contrib-9.3 postgresql-plpython-9.3 . I understand that this is some other package.

If I will not have Python 2.7/3.5 installed, and I will install the plpython package, will the user defined function still work? Is some how the PL/Python depending on Python?

是的,它将,该软件包独立于标准python安装。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM