Yan Cheng Cheok writes:
> Currently, I try to call a stored procedure with void returned type.
> PGresult *res = PQexec(this->getConnection(), "SELECT * FROM
> create_tables()");
> if (PQresultStatus(res) != PGRES_COMMAND_OK)
> {
> PQclear(res);
> return false;
> }
Currently, I try to call a stored procedure with void returned type.
PGresult *res = PQexec(this->getConnection(), "SELECT * FROM
create_tables()");
if (PQresultStatus(res) != PGRES_COMMAND_OK)
{
PQclear(res);
return false;
}
Since the returned type of stored proc