Re: Problem with creating language by JDBC - Mailing list pgsql-jdbc

From MD
Subject Re: Problem with creating language by JDBC
Date
Msg-id ca9d21df-5b7a-4ef3-bda5-f0fee0926257@i28g2000yqa.googlegroups.com
Whole thread Raw
In response to Problem with creating language by JDBC  ("Ming Deng" <mdeng@rim.com>)
List pgsql-jdbc
On Jun 25, 11:14 am, spam_ea...@gmx.net (Thomas Kellerer) wrote:
> >> Class.forName("org.postgresql.Driver");
> >> con = DriverManager.getConnection("jdbc:postgresql://localhost/postgres", "postgres", "postgres");
> >> stmt = con.createStatement();
> >> stmt.executeUpdate("CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql' HANDLER plpgsql_call_handler");
>
> >> I think it is not related to the way you run this from Java, but something else, and the "I/O error" seems to
indicatethat. 
>
> >> Regards
> >> Thomas
>
> > Hi Thomas,
>
> > Thanks for your investigation. What are the version of Postgres and
> > JDBC you are using?
>
> Postgres: 8.4.2
> JDBC Driver: 8.4 JDBC4 (build 701)
>
> Regards
> Thomas
>
Thanks very much for your info. With the help of that, I narrowed down
the problem. It was caused by a bug in a related piece of code.

pgsql-jdbc by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Problem with creating language by JDBC
Next
From: Lew
Date:
Subject: Re: Problem with creating language by JDBC