Re: Problem with creating language by JDBC

From: MD <mingdeng2004(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with creating language by JDBC
Date: 2010-06-25 20:28:28
Message-ID: ca9d21df-5b7a-4ef3-bda5-f0fee0926257@i28g2000yqa.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Jun 25, 11:14 am, spam_ea(dot)(dot)(dot)(at)gmx(dot)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 indicate that.
>
> >> 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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Lew 2010-06-26 20:40:05 Re: Problem with creating language by JDBC
Previous Message Thomas Kellerer 2010-06-25 15:14:10 Re: Problem with creating language by JDBC