We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb9a98b commit 33e111fCopy full SHA for 33e111f
src/interfaces/ecpg/ecpglib/execute.c
@@ -1357,7 +1357,7 @@ ECPGexecute(struct statement * stmt)
1357
if (PQresultStatus(results) == PGRES_COMMAND_OK)
1358
ECPGlog("ECPGexecute line %d: Got PGRES_COMMAND_OK after PGRES_COPY_OUT\n", stmt->lineno);
1359
else
1360
- 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));
1361
}
1362
break;
1363
0 commit comments