164 Star 224 Fork 1.2K

openGauss / docs

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
开发规范.md 553 Bytes
Copy Edit Raw Blame History

开发规范

如果用户在APP的开发中,使用了连接池机制,那么需要遵循如下规范:

  • 如果在连接中设置了GUC参数,那么在将连接归还连接池之前,必须使用“SET SESSION AUTHORIZATION DEFAULT;RESET ALL;”将连接的状态清空。
  • 如果使用了临时表,那么在将连接归还连接池之前,必须将临时表删除。

否则,连接池里面的连接就是有状态的,会对用户后续使用连接池进行操作的正确性带来影响。

1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
2.0.0

Search