Re: numeric definition advice

From: Raimon Fernandez <coder(at)montx(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL List - Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: numeric definition advice
Date: 2008-03-07 18:49:04
Message-ID: 45F98A02-BEB7-4BC4-8FCC-4570A857C73B@montx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


On 07/03/2008, at 14:37, Tom Lane wrote:

> Raimon Fernandez <coder(at)montx(dot)com> writes:
>> Is valid to have a numeric with no precision and a scale of 2 ?
>
> No. You can do something like NUMERIC(1000,2) though. It's pretty
> much like VARCHAR --- the number you give is an upper limit, it's
> not causing any wasted space to be allocated.

thanks ...

raimon

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Chigoy, Byron T 2008-03-07 20:18:56 Optimizing Query (Index)
Previous Message Mary Anderson 2008-03-07 18:21:08 pg_prepare question