| 221 | } |
| 222 | |
| 223 | static bool db_postgres_exec(struct db_stmt *stmt) |
| 224 | { |
| 225 | bool ok; |
| 226 | stmt->inner_stmt = db_postgres_do_exec(stmt); |
| 227 | ok = PQresultStatus(stmt->inner_stmt) == PGRES_COMMAND_OK; |
| 228 | |
| 229 | if (!ok) |
| 230 | stmt->error = PQerrorMessage(stmt->db->conn); |
| 231 | |
| 232 | return ok; |
| 233 | } |
| 234 | |
| 235 | static u64 db_postgres_last_insert_id(struct db_stmt *stmt) |
| 236 | { |
nothing calls this directly
no test coverage detected