RE: Bug found in the driver

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Denis Bucher'" <dbucher(at)niftycom(dot)com>, "'PGSQL-JDBC'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: Bug found in the driver
Date: 2001-08-08 13:59:05
Message-ID: 002b01c12012$496d8920$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)niftycom(dot)com]
Sent: August 8, 2001 9:56 AM
To: PGSQL-JDBC
Cc: Dave(at)micro-automation(dot)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(at)postgresql(dot)org
>[mailto:pgsql-jdbc-owner(at)postgresql(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-08-08 15:19:32 Re: [PATCHES] JDBC2 Array Patch (New feature)
Previous Message Denis Bucher 2001-08-08 13:55:57 RE: Bug found in the driver