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_2_22~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33e111f2258af78f8816dae2eef49c371b94da77;p=thirdparty%2Fpostgresql.git 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 1e3d4182bb9..446605ef6a3 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1357,7 +1357,7 @@ ECPGexecute(struct statement * stmt) if (PQresultStatus(results) == PGRES_COMMAND_OK) ECPGlog("ECPGexecute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno); else - ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results)); + ECPGlog("ECPGexecute line %d: Got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results)); } break; }