El vie, 13-05-2011 a las 08:08 -0500, yanguma escribió:
> Buenos dias,
>
> Tengo el siguiente error en una funcion de postgres
>
>
> ERROR: numeric field overflow
> DETAIL: A field with precision 16, scale 2 must round to an absolute
> value less than 10^14.
> CONTEXT: PL/pgSQL function "mov
Ricardo ,
En algun lugar del cuerpo de la funcion estas ejecutando una funcion o
un casteo que hace que un valor no pueda almacenarse en el tipo
numeric(16,2)
Podes evidenciarlo con lo siguiente:
postgres=# select 111.99::numeric(16,2);
ERROR: numeric field overflow
DETAIL: A field
Buenos dias,
Tengo el siguiente error en una funcion de postgres
ERROR: numeric field overflow
DETAIL: A field with precision 16, scale 2 must round to an absolute value
less than 10^14.
CONTEXT: PL/pgSQL function "mov_inv_actividad" line 5047 at assignment
** Error **
ERROR