Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7a3c3
)
Add missing format argument to ecpg_log() call
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 8 Sep 2011 19:09:08 +0000
(22:09 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 8 Sep 2011 19:10:43 +0000
(22:10 +0300)
src/interfaces/ecpg/ecpglib/execute.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/ecpg/ecpglib/execute.c
b/src/interfaces/ecpg/ecpglib/execute.c
index f84945e943f71dd80eaba6d3e421e35a898876b8..1e11209890c33474a9a77a1e1821861faa5a63c6 100644
(file)
--- 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;
}