]> granicus.if.org Git - postgresql/commitdiff
Add missing format argument to ecpg_log() call
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 8 Sep 2011 19:09:08 +0000 (22:09 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 8 Sep 2011 19:09:08 +0000 (22:09 +0300)
src/interfaces/ecpg/ecpglib/execute.c

index ecf2487d2fdf9028047c664ffee73f9e08ec86dd..2fb54392c9e80f12086d46e313143111215aec11 100644 (file)
@@ -1675,7 +1675,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;
                        }