Re: A question about RAISE NOTICE - Mailing list pgsql-general

From Kris Jurka
Subject Re: A question about RAISE NOTICE
Date
Msg-id Pine.BSO.4.64.0905071948470.12399@leary.csoft.net
Whole thread Raw
In response to Re: A question about RAISE NOTICE  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general

On Thu, 7 May 2009, Craig Ringer wrote:

> Most programs will not be aware of notice messages. Unlike error
> messages there's no provision for them in standard JDBC/ODBC/etc APIs,
> and you have to specifically ask the client driver for them. Unless your
> app is aware of PostgreSQL specifically, it won't be doing that.

The JDBC API has a SQLWarning that we map notice messages to and are
understood by client tools.

http://java.sun.com/javase/6/docs/api/java/sql/SQLWarning.html

Kris Jurka

pgsql-general by date:

Previous
From: David Kerr
Date:
Subject: Re: Schema per user?
Next
From: Tim Bunce
Date:
Subject: Re: prepared statements and DBD::Pg