此条目涉及一项已不再可用/维护的 PostgreSQL 功能、应用程序/实用程序、网站或其他主题。
autocommit 是一个短暂存在的 配置参数,用于决定事务是否应该自动提交。
autocommit 在 PostgreSQL 7.3 中被添加,并在 PostgreSQL 7.4 中被移除。
默认值
autocommit 的默认值为:on。
变更历史
- PostgreSQL 7.4
- 移除 (commit f85f43df)
- PostgreSQL 7.3
- 添加 (commit 26993b29)
请注意,autocommit 作为文档中未记录的虚拟参数一直存在,直到在 PostgreSQL 9.5 中被完全移除 (commit 525a4899)。
参考资料
- PostgreSQL 7.3 文档: autocommit
有用链接
- 在PostgreSQL中禁用autocommit可能会损害您的健康 - CyberTec于2021年6月的博客文章
