我正在使用postgres 9.5.如何检查自动提交是打开还是关闭?我试着SHOW AUTOCOMMIT去了,ERROR: unrecognized configuration parameter "autocommit"然后我做了一个\set autocommit off,然后SHOW AUTOCOMMIT给我空白输出.如何识别autocommit是打开还是关闭?我可以在我的sql文件中创建数据库时/之后将其设置为关闭吗?
SHOW AUTOCOMMIT
ERROR: unrecognized configuration parameter "autocommit"
\set autocommit off
postgresql autocommit
autocommit ×1
postgresql ×1