pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Jeffrey Melloy <jmelloy@visualdistortion.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Warnings
Date: Sat, 15 May 2004 18:23:47 +1200
Message-ID: <40A5B773.4030604@opencloud.com> (raw)
In-Reply-To: <6E3CC2A2-A603-11D8-898B-000393C78AC0@visualdistortion.org>
References: <6E3CC2A2-A603-11D8-898B-000393C78AC0@visualdistortion.org>

Jeffrey Melloy wrote:
> When I attempt to pull the warning from a statement, and display it on 
> the web, I'm getting some garbage at the beginning and end:
> 
> SNOTICEC00000MQuery contains only stopword(s) or doesn't contain 
> lexem(s), ignoredFrewrite.cL249Rclean_fakeval_v2
> 
> While psql just gives "Notice: Query contains only stopwords or doesn't 
> contain lexem(s), ignored
> 
> Any help would be appreciated.

The "garbage" is the raw server-provided string for a 7.4 notification. 
The latest 7.4 driver should turn this into a human-readable form when 
creating SQLWarnings. This change went into CVS on Feb 16, so any driver 
earlier than that will show the behaviour above. I suggest you upgrade 
to the latest binary driver (build 213 on jdbc.postgresql.org) or 
rebuild the driver from current CVS yourself.

-O



view thread (2+ messages)

Message-ID: <40A5B773.4030604@opencloud.com>
Permalink:  ../40A5B773.4030604@opencloud.com/
Also on:    postgresql.org/message-id/40A5B773.4030604@opencloud.com

 · 

reply

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: oliver@opencloud.com, jmelloy@visualdistortion.org
  Subject: Re: Warnings
  In-Reply-To: <40A5B773.4030604@opencloud.com>
  References: <6E3CC2A2-A603-11D8-898B-000393C78AC0@visualdistortion.org> <40A5B773.4030604@opencloud.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