atris / JDBC_FDW

FDW that wraps JDBC for PostgreSQL.It can be used to connect and fetch data from any data source that supports JDBC
Other
66 stars 38 forks source link

Check for errors after result set processing completes. #41

Closed deathwish closed 3 years ago

deathwish commented 3 years ago

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.

atris commented 3 years ago

Merged, thank you!