projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae423dd
)
Add missing format argument to ecpg_log() call
author
Peter Eisentraut
<
[email protected]
>
Thu, 8 Sep 2011 19:09:08 +0000
(22:09 +0300)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 8 Sep 2011 19:13:27 +0000
(22:13 +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 181fac13e0536046af114406225ed24f94c883ef..7ad23444f8c33146229f4ddc12e64bd960075732 100644
(file)
--- a/
src/interfaces/ecpg/ecpglib/execute.c
+++ b/
src/interfaces/ecpg/ecpglib/execute.c
@@
-1394,7
+1394,7
@@
ecpg_execute(struct statement * stmt)
if (PQresultStatus(results) == PGRES_COMMAND_OK)
ecpg_log("ecpg_execute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
else
- ecpg_log("ecpg_execute line %d: Got error after PGRES_COPY_OUT: %s", PQresultErrorMessage(results));
+ ecpg_log("ecpg_execute line %d: Got error after PGRES_COPY_OUT: %s",
stmt->lineno,
PQresultErrorMessage(results));
}
break;
}