Re: Problem with creating language by JDBC

Поиск
Список
Период
Сортировка
От MD
Тема Re: Problem with creating language by JDBC
Дата
Msg-id ca9d21df-5b7a-4ef3-bda5-f0fee0926257@i28g2000yqa.googlegroups.com
обсуждение исходный текст
Ответ на Problem with creating language by JDBC  ("Ming Deng" <mdeng@rim.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Problem with creating language by JDBC
Следующее
От: Lew
Дата:
Сообщение: Re: Problem with creating language by JDBC