Re: Making plpython 2 and 3 coexist a bit better - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Making plpython 2 and 3 coexist a bit better
Date
Msg-id 2342.1453140605@sss.pgh.pa.us
Whole thread Raw
In response to Re: Making plpython 2 and 3 coexist a bit better  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Making plpython 2 and 3 coexist a bit better  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> On Mon, Jan 11, 2016 at 10:44:42AM -0500, Tom Lane wrote:
>> But it gets worse: a report today in pgsql-general points out that
>> even if you have the two languages in use *in different databases*,
>> pg_upgrade will fail, because pg_upgrade rather overenthusiastically
>> loads every .so mentioned anywhere in the source installation into
>> one session.

> The fix for that would be for pg_upgrade to change
> check_loadable_libraries() to start a new session for each LOAD command.
> Would you like that done?

Not necessary anymore, at least not for PL/Python; and that solution
sounds a tad expensive.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Additional role attributes && superuser review
Next
From: Tom Lane
Date:
Subject: Re: Expanded Objects and Order By