pgspider / jdbc_fdw

JDBC Foreign Data Wrapper for PostgreSQL
Other
67 stars 23 forks source link

If ereport(ERROR, ) present before ereport((DEBUG3, ), then the second statement will not run. #20

Open cntwelve opened 1 year ago

cntwelve commented 1 year ago

If ereport(ERROR, ) present before ereport((DEBUG3, ), then the second statement will not run.

For example: line 1411 of jq.c: ereport(ERROR, (errmsg("remote server returned an error"))); ereport(DEBUG3, (errmsg("%s", err_msg)));

When error occour, only the first message will print. But after change the position of the two statemment, all the msgs will print.

JulmeTran commented 10 months ago

This issue has been fixed on release https://github.com/pgspider/jdbc_fdw/releases/tag/v0.4.0. Could you try again to check with this source code?