Re: BUG #1402: getPrecision don't work

From: Kris Jurka <books(at)ejurka(dot)com>
To: Woung raxfar <raxfar(at)yahoo(dot)com(dot)tw>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1402: getPrecision don't work
Date: 2005-01-18 15:19:57
Message-ID: Pine.BSO.4.56.0501181018050.20514@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, 18 Jan 2005, Woung raxfar wrote:

> CREATE TABLE users
> (
> s_no varchar(6),
> userid varchar(20)
> )

I don't believe getPrecision is intended to operate on non-numeric fields.
Perhaps you are looking for getColumnDisplaySize() ?

Kris Jurka

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2005-01-18 17:16:16 Re: BUG #1404: pg_dump: dump order/dependence for a UDF
Previous Message Simon Nicholls 2005-01-18 10:35:06 BUG #1411: Ref Bug#1410 Hibernate PerformanceTest is incredibly slow