From: Peter Eisentraut Date: Thu, 8 Sep 2011 19:09:08 +0000 (+0300) Subject: Add missing format argument to ecpg_log() call X-Git-Tag: REL8_4_9~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c10d1de4191710cf459873a373e54ffd4e49acb3;p=postgresql Add missing format argument to ecpg_log() call --- diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c index 4fa2ba0809..4a3108d10d 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1406,7 +1406,7 @@ ecpg_execute(struct statement * stmt) if (PQresultStatus(results) == PGRES_COMMAND_OK) ecpg_log("ecpg_execute on line %d: got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno); 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; }