This fixes atris/JDBC_FDW#40. Previously, any error which caused result set processing to end would be ignored.
While I do not know of a test case to exercise this functionality, the code has been running in our production environment for some weeks now. As the change caught both previously hidden persistent errors to fetch entire result sets as well as at least one transient fault, I am confident that it works well enough to merge.
This fixes atris/JDBC_FDW#40. Previously, any error which caused result set processing to end would be ignored.
While I do not know of a test case to exercise this functionality, the code has been running in our production environment for some weeks now. As the change caught both previously hidden persistent errors to fetch entire result sets as well as at least one transient fault, I am confident that it works well enough to merge.