Commit cf15fb5c authored by Peter Eisentraut's avatar Peter Eisentraut

Add missing format argument to ecpg_log() call

parent 86ab71d5
...@@ -1675,7 +1675,7 @@ ecpg_execute(struct statement * stmt) ...@@ -1675,7 +1675,7 @@ ecpg_execute(struct statement * stmt)
if (PQresultStatus(results) == PGRES_COMMAND_OK) if (PQresultStatus(results) == PGRES_COMMAND_OK)
ecpg_log("ecpg_execute on line %d: got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno); ecpg_log("ecpg_execute on line %d: got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
else else
ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results)); ecpg_log("ecpg_execute on line %d: got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results));
} }
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment