2016-10-28 13:40 GMT-02:00 Fabrízio de Royes Mello <[email protected]>
:

> On 28-10-2016 11:52, Douglas Fabiano Specht wrote:
> >
> > bom dia pessoa
> > alguem sabe se nao existem mais os repositorios do plpython conforme o
> > link abaixo?
> >
> > https://wiki.postgresql.org/wiki/WIP:plpython3
> >
>
> O que vc precisa exatamente? O plpython foi incorporado no "core" já há
> algum tempo (não lembro exatamente quanto) em src/pl/plpython [1].
>
> Att,
>
> [1]
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=tree;
> f=src/pl/plpython;h=2b0a2207580e0c01d2dc995348b0f8529f5e1d45;hb=HEAD
>
> --
>    Fabrízio de Royes Mello         Timbira - http://www.timbira.com.br/
>    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral



Fabrizio,
na verdade estou tentando criar a extensão plpython3u, ou a plpython2u


CREATE EXTENSION plpython3u
   VERSION "1.0"

e esta me dando o erro:

ERROR:  could not load library
"/opt/PostgreSQL/9.6/lib/postgresql/plpython3.so":
libpython3.3m.so.1.0: cannot open shared object file: No such file or
directory

ambiente:
centOS 6.8
PostgreSQL 9.6.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7
20120313 (Red Hat 4.4.7-16), 64-bit
 o estranho que ao reiniciar o Postgres me da o seguinte Warning..:

WARNING --> PERL_INSTALL_PATH is not set in
/opt/PostgreSQL/9.6/etc/sysconfig/plLanguages.config file
WARNING --> PYTHON_INSTALL_PATH is not set in
/opt/PostgreSQL/9.6/etc/sysconfig/plLanguages.config file
WARNING --> TCL_INSTALL_PATH is not set in
/opt/PostgreSQL/9.6/etc/sysconfig/plLanguages.config file

ja no plLanguages.config

PG_PERL_VERSION=5.20
PG_PYTHON_VERSION=3.3
PG_TCL_VERSION=8.5

PG_PERL_PATH=PERL_INSTALL_PATH
PG_PYTHON_PATH=PYTHON_INSTALL_PATH
PG_TCL_PATH=TCL_INSTALL_PATH


-- 

Douglas Fabiano Specht
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a