Fixed issue 14768. Fixed function definition
authorAntonio Moreno <antonio.moreno@openbravo.com>
Mon, 13 Feb 2012 12:02:18 +0100
changeset 15479 3082e66a5d16
parent 15478 86ac4bc5c360
child 15480 e4e3a55d6378
Fixed issue 14768. Fixed function definition
src-db/database/model/prescript-PostgreSql.sql
--- a/src-db/database/model/prescript-PostgreSql.sql	Mon Feb 13 11:30:11 2012 +0100
+++ b/src-db/database/model/prescript-PostgreSql.sql	Mon Feb 13 12:02:18 2012 +0100
@@ -193,7 +193,7 @@
   RETURNS "numeric" AS
 $BODY$
 BEGIN
-RETURN to_number($1, 'S99999999999999D9999999999');
+RETURN $1;
 EXCEPTION 
   WHEN OTHERS THEN 
     RETURN NULL;