I am trying to update a table on postgreSQL 9.6 and pg admin 4 and it is not updating/inserting

607 views Asked by At

I am trying to update a table on postgreSQL 9.6 and pg admin 4 and it is not updating/inserting. Basically no write query is working, although it is working on that tab but when I open new tab try to see my changes, the changes are not there and data is same.

Simple sql query like update name or insert row, issue is not with SQL query.

2

There are 2 answers

0
Guido Flohr On BEST ANSWER

In pgAdmin go to File -> Preferences -> SQL Editor. You probably have AutoCommit set to off. Either turn it on or add a "COMMIT" statement in order to see the effect in other tabs.

0
Hari Harkala On

In my case my seeing in file--> prefereneces-->Query Tool ---> Optionsenter image description here