Re: testing plpython3u on 9.0beta2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: testing plpython3u on 9.0beta2
Date
Msg-id 22244.1277303454@sss.pgh.pa.us
Whole thread Raw
In response to Re: testing plpython3u on 9.0beta2  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: testing plpython3u on 9.0beta2  (Robert Haas <robertmhaas@gmail.com>)
Re: testing plpython3u on 9.0beta2  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I can reproduce this, here.  The problem seems to be that plpython
> only build either plpython2.so or plython3.so, but both languages
> expect a call handler called plython_call_handler.  So once we load
> the shared library for one language, the other language just grabs the
> same call handler.

We had better fix that --- I can definitely foresee installations
wanting to use both plpython2 and plpython3.  This'd require a change in
the default contents of pg_pltemplate, though.  Does it seem important
enough to bump catversion for?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Explicit psqlrc
Next
From: Robert Haas
Date:
Subject: Re: testing plpython3u on 9.0beta2