pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedWarnings
2+ messages / 2 participants
[nested] [flat]
* Warnings
@ 2004-05-15 00:04 Jeffrey Melloy <jmelloy@visualdistortion.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Melloy @ 2004-05-15 00:04 UTC (permalink / raw)
To: pgsql-jdbc
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.
Jeffrey
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Warnings
@ 2004-05-15 06:23 Oliver Jowett <oliver@opencloud.com>
parent: Jeffrey Melloy <jmelloy@visualdistortion.org>
0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jowett @ 2004-05-15 06:23 UTC (permalink / raw)
To: Jeffrey Melloy <jmelloy@visualdistortion.org>; +Cc: pgsql-jdbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-05-15 06:23 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-15 00:04 Warnings Jeffrey Melloy <jmelloy@visualdistortion.org>
2004-05-15 06:23 ` Oliver Jowett <oliver@opencloud.com>
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