You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DataSource.getConnection() submit a new submission to connect with the Database Server. If any connection-exception is reported for e.g. "password authentication failed for user -"; there is no design to report this exception to the calling thread.
I can see, PGConnection.attachErrorHandler() implementation. Is this for the same purpose?
If such connection exceptions are thrown, we need to close the connection and report exception to all the attached submissions to that connection.
Please correct me if I am wrong in my understanding!
The text was updated successfully, but these errors were encountered:
This sounds correct, there is some printstacktrace calls in protocolV3
class that i had thought should generate errors to that errorhandler.
The hard part is to setup a testning framework for that type of errors I
think.
Den ons 13 juni 2018 20:08Shashank Singh <[email protected]> skrev:
*DataSource.getConnection()* submit a new submission to connect with the
Database Server. If any connection-exception is reported for e.g. *"password
authentication failed for user -"*; there is no design to report this
exception to the calling thread.
I can see, *PGConnection.attachErrorHandler()* implementation. Is this
for the same purpose?
If such connection exceptions are thrown, we need to close the connection
and report exception to all the attached submissions to that connection.
Please correct me if I am wrong in my understanding!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#13>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAniHoHCEqTIamBAZXJwJvaKHBgGc4Gzks5t8VU6gaJpZM4Umrdv>
.
DataSource.getConnection() submit a new submission to connect with the Database Server. If any connection-exception is reported for e.g. "password authentication failed for user -"; there is no design to report this exception to the calling thread.
I can see, PGConnection.attachErrorHandler() implementation. Is this for the same purpose?
If such connection exceptions are thrown, we need to close the connection and report exception to all the attached submissions to that connection.
Please correct me if I am wrong in my understanding!
The text was updated successfully, but these errors were encountered: