Re: Problem with creating language by JDBC

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with creating language by JDBC
Date: 2010-06-25 15:14:10
Message-ID: i02h43$b6m$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>> 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message MD 2010-06-25 20:28:28 Re: Problem with creating language by JDBC
Previous Message MD 2010-06-25 14:00:56 Re: Problem with creating language by JDBC