1.先安装pl/python模块 yum?install?postgresql94-plpython.x86_64?
在postgres用户下执行createlang?plpythonu 2.编写python代码?/usr/lib64/python2.6/plpy_as_cli_test.py import?aerospike
import?sys...
分类:
编程语言 时间:
2015-08-10 13:45:26
阅读次数:
212
PL/Python - Python Procedural Language 安装
查看系统提供plpython包(已经编译好的)。
[root@localhost ~]# dnf search python |grep postgresql
python3-postgresql.x86_64 : Connect to PostgreSQL with Python 3
python-sto...
分类:
数据库 时间:
2015-07-25 12:21:54
阅读次数:
488