[pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type

Поиск
Список
Период
Сортировка
От Aditya Toshniwal
Тема [pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type
Дата
Msg-id CAM9w-_kbCjDMAByo=02e2eNukJtb-VS4s+SdrfZLFZTFs2wyqA@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-hackers
Hi Hackers,

Attached is the patch to fix the issue where updating data (using view/edit) of primary key column where data type of that column is json/jsonb throws exception psycopg2.ProgrammingError: can't adapt type 'dict'.
The adapt function of psycopg2 does not support dict data type. Instead, http://initd.org/psycopg/docs/extras.html#json-adaptation can be used.

Kindly review.

Thanks and Regards,
Aditya Toshniwal


--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"
Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Aditya Toshniwal
Дата:
Сообщение: Re: [pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type
Следующее
От: Khushboo Vashi
Дата:
Сообщение: Re: [pgAdmin4][Pattch] - RM #3673 - "Download as .csv" F8 does NOTwork when one of joined files is a TEMPORARY file