RE: Bug found in the driver - Mailing list pgsql-jdbc

From Dave Cramer
Subject RE: Bug found in the driver
Date
Msg-id 002b01c12012$496d8920$8201a8c0@inspiron
Whole thread Raw
In response to RE: Bug found in the driver  (Denis Bucher <dbucher@niftycom.com>)
List pgsql-jdbc
Denis,

Can you do me a favour, and post a small program which can reproduce
your results.
If you have already done so, let me know and I will go and find it.

Dave

-----Original Message-----
From: Denis Bucher [mailto:dbucher@niftycom.com]
Sent: August 8, 2001 9:56 AM
To: PGSQL-JDBC
Cc: Dave@micro-automation.net
Subject: RE: [JDBC] Bug found in the driver


At 09:05 08.08.01 -0400, you wrote:
>Denis,
>
>Do you get this error with current binaries from
>http://jdbc.fastcrypt.com

Yes, with the latest binaries I get approximately :

EXCEPTION Quelque chose de peu commun sest produit pour faire ??chouer
le gestionnaire. Veuillez enregistrer cette exception: {0}

You can find it into : org/postgres/errors_fr.properties

With my modified/kludge version I get :

"... java.sql.SQLException: Password authentification failed for user
'test'"

Denis

>-----Original Message-----
>From: pgsql-jdbc-owner@postgresql.org
>[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Denis Bucher
>Sent: August 8, 2001 7:44 AM
>To: Steve Wampler
>Cc: PGSQL-JDBC
>Subject: Re: [JDBC] Bug found in the driver
>
>
>At 11:07 07.08.01 -0700, you wrote:
>
>Hello !
>
> > > I agree with you. But is there someone that could find the exact
> > > place to correct it ? This would be nice... And it would spare
> > > some time in the mailling-lists, just do a google.com search at
> > > "unusual"
>
> > > and you'll see
> > ;-))
> >
> >I thought I'd take more of a look at this (because I don't want to do

> >the work I'm supposed to be doing!).  It looks for all the world to
> >me that the code is correct and that somehow MessageFormat.format()
> >isn't working properly.  This is, of course, unlikely, since I'm
> >pretty sure Sun has tested MessageFormat quite a bit!
> >
> >Do you have a simple test case I can run that will show the problem?
> >There's not much I can do without being able to reproduce the
> >problem.
>
>It is very easy to reproduce the bug !
>
>Just change you pg_hba.conf so that the host on which you are has got
>no entry. And you'll see :
>
>Instead of saying "unusual error, please record the following exception
>: No pg_hba.conf entry for host 192.168.200.4, user postgres database
>test" (or something like that) it will say only :
>
>"unusual error, please record the following exception : {0}"
>
>Denis
>
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
>
>
>
>---------------------------(end of
>broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html



pgsql-jdbc by date:

Previous
From: Denis Bucher
Date:
Subject: RE: Bug found in the driver
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] JDBC2 Array Patch (New feature)