简体   繁体   English

我正在尝试更新PostgreSQL 9.6和pg admin 4上的表,并且没有更新/插入

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

I am trying to update a table on postgreSQL 9.6 and pg admin 4 and it is not updating/inserting. 我正在尝试在postgreSQL 9.6和pg admin 4上更新表,并且没有更新/插入。 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. 简单的sql查询(如更新名称或插入行)不是SQL查询。

In pgAdmin go to File -> Preferences -> SQL Editor. 在pgAdmin中,转到文件->首选项-> SQL编辑器。 You probably have AutoCommit set to off. 您可能已将AutoCommit设置为关闭。 Either turn it on or add a "COMMIT" statement in order to see the effect in other tabs. 打开它或添加“ COMMIT”语句,以便在其他选项卡中查看效果。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM