Error messages

Started by Mihai Gheorghiuover 24 years ago3 messagesgeneral
Jump to latest
#1Mihai Gheorghiu
tanethq@earthlink.net

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.

#2Barry Lind
barry@xythos.com
In reply to: Mihai Gheorghiu (#1)
Re: [GENERAL] Error messages

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?

http://www.postgresql.org/users-lounge/docs/faq.html

#3Barry Lind
barry@xythos.com
In reply to: Mihai Gheorghiu (#1)
Re: [GENERAL] Error messages

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?

http://www.postgresql.org/users-lounge/docs/faq.html