Re: BUG #1712: JDBC column precision for bigint is 0

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Gilles Dubochet <dubochet(at)urbanet(dot)ch>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1712: JDBC column precision for bigint is 0
Date: 2005-06-12 21:34:17
Message-ID: 42ACAA59.3050800@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Gilles Dubochet wrote:
> The following bug has been logged online:
>
> Bug reference: 1712
> Logged by: Gilles Dubochet
> Email address: dubochet(at)urbanet(dot)ch
> PostgreSQL version: 8.0.2
> Operating system: Linux
> Description: JDBC column precision for bigint is 0
> Details:
>
> Whith the JDBC driver at least up to version 8.1dev-400, the result of the
> getPrecision method of ResultSetMetaData on a bigint column is 0 instead of
> the expected 19.

This has been reported before but I haven't got to fixing it yet. This
is partly because I haven't seen a good explanation of exactly what we
should be returning here -- what spec says we should return 19?

-O

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2005-06-13 01:37:53 Re: BUG #1707: statistics collector starts with stats_start_collector
Previous Message Tom Lane 2005-06-12 18:50:58 Re: BUG #1707: statistics collector starts with stats_start_collector = false