Re: bug in AbstractJdbc1Statement.java (7.3)

Поиск
Список
Период
Сортировка
От Fernando Nasser
Тема Re: bug in AbstractJdbc1Statement.java (7.3)
Дата
Msg-id 3DE8E59E.5090805@redhat.com
обсуждение исходный текст
Ответ на bug in AbstractJdbc1Statement.java (7.3)  (Harald Krake <harald@krake.de>)
Список pgsql-jdbc
The correct type name is DOUBLE PRECISION, not just DOUBLE, thus the
error message.  It would be better to use the standard SQL names for the
types, so I suggest it is changed to:

private static final String PG_DOUBLE = "double precision";

Harald Krake wrote:
> in line 1937 should be:
>
> private static final String PG_DOUBLE = "float8";
>
> instead of ... = "double".
>
> Otherwise QueryExecutor.execute() throws
> java.sql.SQLException: ERROR:  Type "double" does not exist
>
> regards,
> Harald.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>


--
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Harald Krake
Дата:
Сообщение: bug in AbstractJdbc1Statement.java (7.3)
Следующее
От: Dennis King
Дата:
Сообщение: Re: Redhat 8 default database warning: JDBC problems