摘要: #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 阅读全文
posted @ 2012-12-11 21:29 glose 阅读(752) 评论(0) 推荐(0) 编辑