Open cntwelve opened 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.
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?
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.