From: NielsG <NielsG@aquafold.com>
To: pgsql-jdbc@postgresql.org
Subject: Possible Bug with JDBC 8.0-310 JDBC 3
Date: Thu, 10 Feb 2005 01:44:59 -0800
Message-ID: <420B2D1B.7010708@aquafold.com> (raw)
Hi,
I believe there is a bug in JDBC 8 that wasn't there in JDBC 7.4. I
have a function which does a RAISE NOTICE. If I use the 7.4 JDBC driver
and execute it with a Statement.execute("SELECT functionname()"), and
get the warnings with Statement.getWarnings(), the warnings that are
returned do not have any messages with the SQLWarning.getMessage(). I
get the correct number of warnings, but the warning messages are blank.
Doesn't work:
JDBC: JDBC 8.0-310 JDBC 3
Database: Postgresql 8.0 and 7.4.3
Warnings: --->
W (1):
W (2):
W (3):
<---
Works:
JDBC: JDBC 7.4-214 JDBC 3
Database: Postgresql 8.0 and 7.4.3
Warnings: --->
W (1): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
W (2): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
W (3): SNOTICE C00000 my_message_text Fpl_exec.c L1860 Rexec_stmt_raise
<---
Does anyone know of this bug?
thanks
Niels
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: NielsG@aquafold.com
Subject: Re: Possible Bug with JDBC 8.0-310 JDBC 3
In-Reply-To: <420B2D1B.7010708@aquafold.com>
References: <420B2D1B.7010708@aquafold.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox