From 7f7ed1716dea32ebe1f504c16538a175a075c758 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 8 Sep 2011 22:09:08 +0300 Subject: [PATCH] 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 181fac13e0..7ad23444f8 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1394,7 +1394,7 @@ ecpg_execute(struct statement * stmt) if (PQresultStatus(results) == PGRES_COMMAND_OK) ecpg_log("ecpg_execute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno); else - ecpg_log("ecpg_execute line %d: Got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results)); + ecpg_log("ecpg_execute line %d: Got error after PGRES_COPY_OUT: %s", stmt->lineno, PQresultErrorMessage(results)); } break; } -- 2.40.0