摘要:
#include<stdio.h>#include<stdlib.h>#include<libpq-fe.h>#include <string.h>int main(){ PGconn *conn; const char *conninfo="host=localhost dbname=cloud user=cloud password=cloud"; // char conninfo[100]; // sprintf(conninfo,"dbname=%s user=%s password=%s",&qu 阅读全文