Search Postgresql Archives

Re: 9.4 -> 9.5 upgrade problem when both python2 and python3 present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Jones <pbj@xxxxxxxxxx> writes:
> On Mon, Jan 11, 2016 at 10:04:16AM -0500, Tom Lane wrote:
>> It looks like pg_upgrade tries to load all libraries from functions in
>> any database in the old cluster into a single session in the new cluster,
>> which will fail in a scenario like this even if you keep python2 and
>> python3 functions rigorously separated into distinct databases.  I'm
>> not sure if we could weaken that test enough to work.

> I guess the thing to do is to manually pg_dump the databases that have
> python, drop them, upgrade, and then manually restore.

If you'd rather build a patched version of PG, I have posted a
work-in-progress patch to address this issue:
http://www.postgresql.org/message-id/31659.1452538805@xxxxxxxxxxxxx

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux