Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group