Re: A question about RAISE NOTICE

From: Kris Jurka <books(at)ejurka(dot)com>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: "Luigi N(dot) Puleio" <npuleio(at)rocketmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: A question about RAISE NOTICE
Date: 2009-05-07 23:51:15
Message-ID: Pine.BSO.4.64.0905071948470.12399@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Bunce 2009-05-08 00:02:04 Re: prepared statements and DBD::Pg
Previous Message David Kerr 2009-05-07 22:59:00 Re: Schema per user?