Re: numeric definition advice - Mailing list pgsql-novice

From Raimon Fernandez
Subject Re: numeric definition advice
Date
Msg-id 45F98A02-BEB7-4BC4-8FCC-4570A857C73B@montx.com
Whole thread Raw
In response to Re: numeric definition advice  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses warnings restoring a db
List pgsql-novice
On 07/03/2008, at 14:37, Tom Lane wrote:

> Raimon Fernandez <coder@montx.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


pgsql-novice by date:

Previous
From: Mary Anderson
Date:
Subject: pg_prepare question
Next
From: "Chigoy, Byron T"
Date:
Subject: Optimizing Query (Index)