This commit is contained in:
buter
2021-04-29 10:39:28 +08:00
parent 411b0d961d
commit 18aa2bb676

View File

@ -1,6 +1,9 @@
/* /*
测试sm3链接 测试条件:
test: 远程链接配置里面默认配的都是sm3方式 1.在postgresql.conf配置文件中,将password_encryption_type设置为3。(加密方式改为SM3加密)
2.在pg_hba配置文件中,将测试用户的加密方式改为sm3。
目的:测试在加密方式为sm3的情况下ODBC可以正常连接使用。
*/ */
#include <stdio.h> #include <stdio.h>
#include <sql.h> #include <sql.h>