Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
[pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type - Mailing list pgadmin-hackers
From
Aditya Toshniwal
Subject
[pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type
Date
February 19, 2019
15:41:53
Msg-id
CAB2fNHCW7+BXqBjcxm7=L6tCZEMsEzgkB6+tAkTDDiGiZqLRVg@mail.gmail.com
Whole thread
Raw
Responses
Re: [pgAdmin4][RM3912] Unable to save data if user update primary keywith Json data type
List
pgadmin-hackers
Tree view
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
Attachment
RM3912.patch
pgadmin-hackers
by date:
Previous
From:
Akshay Joshi
Date:
19 February 2019, 09:58:16
Subject:
[pgAdmin4][Patch]: RM #3958 Query Tool commits after SELECTstatements regardless of 'Auto commit' setting
Next
From:
Dave Page
Date:
19 February 2019, 16:19:49
Subject:
pgAdmin 4 commit: Convert the JSON output from yarn properly
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies