Re: [GENERAL] Error messages
Re: [GENERAL] Error messages
От:
Barry Lind <barry@xythos.com>
Дата:
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: > 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 > >