Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to use pl/python #12

Open
gpciceri opened this issue Jul 8, 2018 · 0 comments
Open

unable to use pl/python #12

gpciceri opened this issue Jul 8, 2018 · 0 comments

Comments

@gpciceri
Copy link

gpciceri commented Jul 8, 2018

Hi,
first of all let me thank you very, very, very much for this portable edition:
thank you again!

Now the issue: I'm using the latest release PostgreSQLPortable_10.4.1_online.paf.exe,
along with a binary distribution of python for win-32 bit from anaconda:
https://anaconda.org/anaconda/python/3.4.4/download/win-32/python-3.4.4-5.tar.bz2

but when I try to create a function in python, the db backend drops.


(user) =# create extension plpython3u;
CREATE EXTENSION
(user )=# CREATE FUNCTION pymax (a integer, b integer)
(user) -# RETURNS integer
(user) -# AS $$
(user) $# if a > b:
(user) $# return a
(user) $# return b
(user) $# $$ LANGUAGE plpython3u;
il server ha chiuso la connessione inaspettatamente
Questo probabilmente indica che il server ha terminato in modo anormale
prima o durante l'elaborazione della richiesta.
Connessione al server persa. Tentativo di reset: Fallito.

May you please be so kind to point me to which binary python distro should I use (with no admin right required for installing, of course)?

With kindly regards,
/gp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant