So simply the problem occurs when I want to edit selected rows and then apply it. I\'m sure it worked some time ago. Tried redownload postgres driver in preferences(yeah, I
I struck the same issue, not Postgres but MySql, PhpStorm 2019.1 when I had two schema available on the same db connection and my query: select * from users where full_name like '%handy%';
resulted in a result table that couldn't be edited even though the console reported it was querying the stage
schema. A more specific query: select * from stage.users where full_name like '%handy%';
using the exact table name led to a results table that could be inline edited.
What worked for me was removing a field alias - going from this:
SELECT
l.MSKU Item_SKU,
l.Supplier,
l.ASIN,
l.title,
l.Buy_Price
FROM listings l
WHERE l.Buy_Price IS NULL
ORDER BY l.Supplier, l.listingID desc;
to this:
SELECT
l.MSKU,
l.Supplier,
l.ASIN,
l.title,
l.Buy_Price
FROM listings l
WHERE l.Buy_Price IS NULL
ORDER BY l.Supplier, l.listingID desc;
is all it took for me to be able to edit the results of the query
What actually helped was toggling Auto-commit checkbox in console, after that everything runs flawlessly.
Try synchronize database connection. It helped me in mysql connection.
Set and clear Read-only in Data Source Properties helps me.
In my case in version 2020.1
of DataGrip (SQL was run from the opened file, on unique table, so that select just worked as expected, but when I was trying to edit - error appeared: unresolved table reference
): specifying schemes in request helped. So that SELECT * FROM users;
was changed to SELECT * FROM schemadb.users;
and that helped. Probably there is a bug. I've tried all the methods mentioned above.