Re: [PHP-DB] numeric in plpgsql function

2003-10-02 Thread Martin Marques
El Mié 01 Oct 2003 22:45, Gezeala 'Eyah' "Bacuño" II escribió: > Saw this in the Postgresql manual : > > Chapter 8. Data Types > > Some of the operators and functions (e.g., addition and multiplication) > do not perform run-time error-checking in the interests of improving > execution speed. On som

[PHP-DB] numeric in plpgsql function

2003-10-01 Thread Bacuño
Saw this in the Postgresql manual : Chapter 8. Data Types Some of the operators and functions (e.g., addition and multiplication) do not perform run-time error-checking in the interests of improving execution speed. On some systems, for example, the numeric operators for some data types may s

[PHP-DB] numeric in plpgsql function

2003-10-01 Thread Bacuño
numeric problem in postgres function... here's my function : -- Function : fn_adjust_accum_dep(int4,int4,numeric) -- Used in computing accumulated depreciation expense during Adjustment Transaction CREATE OR REPLACE FUNCTION fn_adjust_accum_dep(int4,int4,numeric) RETURNS numeric AS ' DECLARE