Re: DriverManager.getConnection() fails sometimes but succeeds other times - Mailing list pgsql-general

From sys@yahoo.com (Enote)
Subject Re: DriverManager.getConnection() fails sometimes but succeeds other times
Date
Msg-id 6ebabd20.0203182306.c4653c7@posting.google.com
Whole thread Raw
List pgsql-general
perhaps posting a sample stub of code and the relevant entries in pg_hba.conf
might make it easier to understand what might be wrong?



Michael E Mercer <mmercer@lboard.com> wrote in message news:<3C960A14.B45611B@lboard.com>...
> Hello,
>
> I have a java program running as root and tries to connect to database
> as user
> 'A' with password 'A'.
>
> The pg_hba.conf is set to allow users to connect from any host with md5
> authentication.
>
> The java program uses the same method to connect to the database,
> however
> sometimes authentication
> succeeds and sometimes it fails. The user and password are hard coded,
> so there
> is no probable error there.
>
> Any ideas?
>
> Thanks
> Michael Mercer

pgsql-general by date:

Previous
From: sys@yahoo.com (Enote)
Date:
Subject: is postgres IP address sensitive?
Next
From: "Andrew G. Hammond"
Date:
Subject: Re: [SQL] How to create crude report with psql and/or plpgsql