Re: connection problem in postgresql - Mailing list pgsql-bugs

From Luckys
Subject Re: connection problem in postgresql
Date
Msg-id b80d582c0604162158q60769f69g56845283a71295bf@mail.gmail.com
Whole thread Raw
In response to Re: connection problem in postgresql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
String url =3D "jdbc:postgresql://localhost/test";
Properties props =3D new Properties();
props.setProperty("user","fred");
props.setProperty("password","secret");
props.setProperty("ssl","true");
Connection conn =3D DriverManager.getConnection(url, props);

although there are different forms for the url connection string.

Do no forget to have the *.jar in your classpath.

You'd even like to look at this, http://pugs.postgresql.org/uae/

As rightly pointed out by Tom, please choose appropriate mailing list for
the respective problem,

cool.

Luckys.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #2386: pg_restore doesn't restore large objects
Next
From: "Patrick Headley"
Date:
Subject: Re: BUG #2386: pg_restore doesn't restore large objects