BUG #13861: Database dump does not load when both plpython2u and plpython3u functions are used
В списке pgsql-bugs по дате отправления:
| От | roman.vanicek@gmail.com |
|---|---|
| Тема | BUG #13861: Database dump does not load when both plpython2u and plpython3u functions are used |
| Дата | |
| Msg-id | 20160112194225.2145.67415@wrigleys.postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #13861: Database dump does not load when both
plpython2u and plpython3u functions are used
|
| Список | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 13861
Logged by: Roman Vanicek
Email address: roman.vanicek@gmail.com
PostgreSQL version: 9.5.0
Operating system: Linux Ubuntu 15.10
Description:
Use case:
I have a database that uses both plpython2u and plpython3u extensions and
some functions using them.
When trying do restore the database on 9.5 server after dump, it produces
fatal error.
On postgresql-9.4:
pg_dumpall > all.dump
On postgresql-9.5:
psql < all.dump
Result:
FATAL: Python major version mismatch in session
DETAIL: This session has previously used Python major version 2, and it is
now attempting to use Python major version 3.
HINT: Start a new session to use a different Python major version.
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
connection to server was lost
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера