Fix dropping of databases with Unicode names. Fixes #2243
1. Pickup correct encoding in qtLiteral to decode.
2. While releasing database connection only decode database name if it's not unicode.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e4134695e564a6f696f7acbfb1b11a3026601dd7
Author: Harshal Dhumal <harshal.dhumal@enterprisedb.com>
Modified Files
--------------
web/pgadmin/utils/driver/psycopg2/__init__.py | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Есть вопросы? Напишите нам!
✖
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.