Re: [GENERAL] Error messages - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: [GENERAL] Error messages
Date
Msg-id 3BC7991A.9010406@xythos.com
Whole thread Raw
List pgsql-jdbc
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
>
>



pgsql-jdbc by date:

Previous
From: Rene Pijlman
Date:
Subject: Re: how can I get all the tables' name by one function call?
Next
From: Barry Lind
Date:
Subject: Re: [GENERAL] Error messages