Re: Bug found in the driver

From: Denis Bucher <dbucher(at)niftycom(dot)com>
To: Steve Wampler <swampler(at)noao(dot)edu>
Cc: PGSQL-JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Bug found in the driver
Date: 2001-08-08 11:44:22
Message-ID: 5.1.0.14.0.20010808134052.00a9aec0@mail.niftycom.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-08-08 13:05:06 RE: Bug found in the driver
Previous Message raviG 2001-08-08 08:53:20 Re: Inserting text and binaries in OID column