[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 CAB2fNHCW7+BXqBjcxm7=L6tCZEMsEzgkB6+tAkTDDiGiZqLRVg@mail.gmail.com
обсуждение исходный текст
Ответы Re: [pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type  (Aditya Toshniwal <aditya.toshniwal14@gmail.com>)
Список 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

Вложения

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: [pgAdmin4][Patch]: RM #3958 Query Tool commits after SELECTstatements regardless of 'Auto commit' setting
Следующее
От: Dave Page
Дата:
Сообщение: pgAdmin 4 commit: Convert the JSON output from yarn properly