Re: BUG #1712: JDBC column precision for bigint is 0 - Mailing list pgsql-bugs

From Oliver Jowett
Subject Re: BUG #1712: JDBC column precision for bigint is 0
Date
Msg-id 42ACAA59.3050800@opencloud.com
Whole thread Raw
In response to BUG #1712: JDBC column precision for bigint is 0  ("Gilles Dubochet" <dubochet@urbanet.ch>)
Responses Re: BUG #1712: JDBC column precision for bigint is 0
List pgsql-bugs
Gilles Dubochet wrote:
> The following bug has been logged online:
>
> Bug reference:      1712
> Logged by:          Gilles Dubochet
> Email address:      dubochet@urbanet.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #1707: statistics collector starts with stats_start_collector = false
Next
From: Dan Jacobson
Date:
Subject: could not connect to server: [then mess]