Error messages
Is it possible to have the backend messages displayed by the front end?
More precisely: I'm accessing PG via JDBC. Can JDBC driver convey PG server
error messages to the front, or I can get only what JDBC throws?
Thank you all.
Forwarding this message to the jdbc list.
Mihai Gheorghiu wrote:
Show quoted text
Is it possible to have the backend messages displayed by the front end?
More precisely: I'm accessing PG via JDBC. Can JDBC driver convey PG server
error messages to the front, or I can get only what JDBC throws?
Thank you all.---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
Mihai,
Do you have specific examples of the error messages you want on the
front end? As far as I know all error messages that result from a
particular client are sent back to that client. Either as errors (ERROR
messages), or as warnings (NOTICE messages). Error messages get thrown
via a SQLException, and warnings can be gotten by calling
Connection.getWarnings().
thanks,
--Barry
Mihai Gheorghiu wrote:
Show quoted text
Is it possible to have the backend messages displayed by the front end?
More precisely: I'm accessing PG via JDBC. Can JDBC driver convey PG server
error messages to the front, or I can get only what JDBC throws?
Thank you all.---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?