diff options
author | Peter Eisentraut | 2011-09-08 19:09:08 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-09-08 19:10:43 +0000 |
commit | ba24de13f6b4a1a2ceb6230840330e4192312e09 (patch) | |
tree | 3371c7b5edda35a524fac1347a98dd454e3504ea | |
parent | 6e7a3c364bf5df266bb7000ead399e779410962c (diff) |
Add missing format argument to ecpg_log() call
-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 f84945e943f..1e11209890c 100644 --- a/src/interfaces/ecpg/ecpglib/execute.c +++ b/src/interfaces/ecpg/ecpglib/execute.c @@ -1676,7 +1676,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; } |