From: | Fernando Nasser <fnasser(at)redhat(dot)com> |
---|---|
To: | Harald Krake <harald(at)krake(dot)de> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: bug in AbstractJdbc1Statement.java (7.3) |
Date: | 2002-11-30 16:21:50 |
Message-ID: | 3DE8E59E.5090805@redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
From | Date | Subject | |
---|---|---|---|
Next Message | Felipe Schnack | 2002-11-30 16:35:47 | setDefault() |
Previous Message | Harald Krake | 2002-11-30 16:02:28 | bug in AbstractJdbc1Statement.java (7.3) |