Re: bug in AbstractJdbc1Statement.java (7.3) - Mailing list pgsql-jdbc

From Fernando Nasser
Subject Re: bug in AbstractJdbc1Statement.java (7.3)
Date
Msg-id 3DE8E59E.5090805@redhat.com
Whole thread Raw
In response to bug in AbstractJdbc1Statement.java (7.3)  (Harald Krake <harald@krake.de>)
List 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 by date:

Previous
From: Harald Krake
Date:
Subject: bug in AbstractJdbc1Statement.java (7.3)
Next
From: Dennis King
Date:
Subject: Re: Redhat 8 default database warning: JDBC problems