Re: [pgsql-es-ayuda] Ayuda en error de funcion en postgres

2011-05-13 Por tema Gerardo Herzig
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

Re: [pgsql-es-ayuda] Ayuda en error de funcion en postgres

2011-05-13 Por tema Dorian Kuroki
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

[pgsql-es-ayuda] Ayuda en error de funcion en postgres

2011-05-13 Por tema yanguma
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