diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-09-08 22:09:08 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-09-08 22:09:08 +0300 |
commit | cf15fb5cabfbc71e07be23cfbc813daee6c5014f (patch) | |
tree | d6bd2c0cff253d5f2218c2a2cfa913776e092fb6 /src | |
parent | 86ab71d58d4ee7e183e501db75714ad59feef8a5 (diff) | |
download | postgresql-cf15fb5cabfbc71e07be23cfbc813daee6c5014f.tar.gz postgresql-cf15fb5cabfbc71e07be23cfbc813daee6c5014f.zip |
Add missing format argument to ecpg_log() call
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c index ecf2487d2fd..2fb54392c9e 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -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; } |