String url = "jdbc:postgresql://localhost/test";
Properties props = new Properties();
Connection conn = 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,
In response to
pgsql-bugs by date
|Next:||From: Roberto Castro||Date: 2006-04-17 19:01:21|
|Subject: syntax error |
|Previous:||From: Tom Lane||Date: 2006-04-17 02:52:18|
|Subject: Re: BUG #2386: pg_restore doesn't restore large objects |