Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Errors are downgraded to warnings #95

Open
megatron-me-uk opened this issue Dec 4, 2017 · 0 comments
Open

Connection Errors are downgraded to warnings #95

megatron-me-uk opened this issue Dec 4, 2017 · 0 comments

Comments

@megatron-me-uk
Copy link

RPostgreSQL catches errors and downgrades them to warnings. While this may be useful in some cases, there are many errors which are not recoverable from (e.g. connection errors). It would be preferable to not catch errors and allow the user to decide whether to ignore (current behaviour) or do something else.

A good example of this is in the pool package where a connection is tested at regular intervals and if an error occurs is replaced with a fresh connection. This code is incompatible with RPostgreSQL as errors are downgraded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant