2020-07-08から1日間の記事一覧

PQresultStatus

PQresultStatusで、PQexecの結果を取得する。https://www.postgresql.jp/document/7.3/programmer/libpq-exec.html /* SQL実行 */ res = PQexec(con, ""); /* PQexecでSQL文"SELECT * FROM user_profile;"を実行. */ type = PQresultStatus(res); /* PQresul…