summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-09-08 22:09:08 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-09-08 22:15:53 +0300
commit33e111f2258af78f8816dae2eef49c371b94da77 (patch)
tree69a85392cfd9bf90c574eaddad24cada8830f569
parenteb9a98b6e2657ca65c4ddbe2536b26880864ff8f (diff)
downloadpostgresql-33e111f2258af78f8816dae2eef49c371b94da77.tar.gz
Add missing format argument to ecpg_log() call
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 1e3d4182bb..446605ef6a 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;
}