Are you an LLM? You can read better optimized documentation at /zh/docs/7.0.0/developer_guide/pqreset.md for this page in Markdown format
PQreset
功能描述
重置与服务器的通讯端口。
原型
void PQreset(PGconn *conn);
参数
表 1 PQreset参数
注意事项
此函数将关闭与服务器的连接并且试图与同一个服务器重建新的连接,并使用所有前面使用过的参数。该函数在链接异常后进行故障恢复时十分有效。
示例
请参见示例章节。