Re: [INTERFACES] what´s for password ? (JDBC) - Mailing list pgsql-interfaces

From Oliver Elphick
Subject Re: [INTERFACES] what´s for password ? (JDBC)
Date
Msg-id 200002031523.PAA19842@linda.lfix.co.uk
Whole thread Raw
In response to what´s for password ? (JDBC)  (Jaume Pausas <a1649@dis.ulpgc.es>)
List pgsql-interfaces
Jaume Pausas wrote:
  >Hi
  >
  >Why when I use a getConnection(url,user,password) if I put any password
  >it connect?
  >
  >Supose that a I have a db named felp and the create of it is jupito with
  >the password lolo
  >
  >If i put : getConnection("jdbc:postgresql:felp","jupito","nolose"); it
  >connect!. Why? doesn´t it the correct password!

Passwords are not necessarily used; they need to be configured in
$PGLIB/pg_hba.conf

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
               PGP key from public servers; key ID 32B8FAA1
                 ========================================
     "O come, let us worship and bow down; let us kneel
      before the LORD our maker."            Psalms 95:6




pgsql-interfaces by date:

Previous
From: Nicolas Huillard
Date:
Subject: RE: [INTERFACES] Access 2000 and ODBC
Next
From: "Christopher R. Jones"
Date:
Subject: RE: [INTERFACES] Access 2000 and ODBC