Re: [GENERAL] Error messages

From: Barry Lind <barry(at)xythos(dot)com>
To: Mihai Gheorghiu <tanethq(at)earthlink(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [GENERAL] Error messages
Date: 2001-10-13 01:30:02
Message-ID: 3BC7991A.9010406@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-10-13 01:34:48 Re: ERROR: Unrecognized language specified ...
Previous Message o2 2001-10-13 01:23:28 Re: JDBC question: Which class is returned?

Browse pgsql-jdbc by date

  From Date Subject
Next Message Adile Abbadi 2001-10-13 01:57:15 Question of JDBC Driver
Previous Message o2 2001-10-13 01:23:28 Re: JDBC question: Which class is returned?