-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
SQL state [0A000] keeps recurring, seems unrecoverable #1003
Comments
In your opinion, evicting the connection upon receipt of 0A000 would allow the application to continue? |
Indeed. Tried this locally. I placed a custom implementation of ProxyConnection on the classpath to override the default ProxyConnection implementation. Upon receiving the 0A000 errorcode the connection will be closed. |
Environment
When doing a rolling deploy of our application (over multiple application nodes).
The first node to be redeployed with the new version will apply database changes through Flyway.
Exception:
SQL state [0A000]; error code [0]; ERROR: cached plan must not change result type; nested exception is org.postgresql.util.PSQLException: ERROR: cached plan must not change result type
.PostgreSQL errorcode 0A000 (FEATURE NOT SUPPORTED)
This seems to be an unrecoverable exception.
But isn't listed in the SQL_ERRORS list (ProxyConnection) so the connection will not be closed.
So the exception keeps recurring.
The text was updated successfully, but these errors were encountered: