7.11 PL/Python

Table of Contents Previous Next



Please note: Advanced Server version 9.5 includes a major change in the Python installation for Linux systems. In previous releases, plpython was statically linked with ActiveState's python library. The EnterpriseDB Language Pack installer dynamically links with our shared object for python. In ActiveState Linux installers for Python, there was no dynamic library. As a result of these changes, plpython will no longer work with ActiveState installers.
You can use StackBuilder Plus to invoke the Language Pack installer. For information about using StackBuilder Plus, see Section 4.5. After downloading and installing the Language Pack, perform the OS specific configuration steps outlined in Section 7.3.
Install PL/Python in each database (or in a template database) before creating a PL/Python function. You can use the 수정 LANGUAGE command at the EDB-PSQL command line to install PL/Python. Use EDB-PSQL to connect to the database in which you wish to install PL/Python, and enter the command:
When calling the pymax function, pass two values as shown below:


Table of Contents Previous Next