postgres.git / summary / log / commit / refs

commit    33e111f2258af78f8816dae2eef49c371b94da77
Author:   Peter Eisentraut <peter_e@gmx.net>
Date:     Thu Sep 08 19:09:08 2011 +0000
First released in: 9.2.0, 8.2.22, 8.3.16, 8.4.9, 9.0.5, 9.1.0

    Add missing format argument to ecpg_log() call


src/interfaces/ecpg/ecpglib/execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } [parent: eb9a98b6e265]