Commit Graph

5 Commits

Author SHA1 Message Date
Carlos Ruiz e9338353c8
IDEMPIERE-4426 Fix add_months and adddays functions (#220)
Fix add_months function in postgresql to make it consistent with its oracle version
Fix adddays function to behave consistent as the add_months in both oracle and postgresql
Fix adddays in postgresql to add managing fractional days (same as oracle does), so it can add hours, minutes, seconds
Fix subtractdays performance making it immutable
2020-08-21 13:08:07 +02:00
Carlos Ruiz d7147dc1f5 IDEMPIERE-1953 Performance problem of postgresql functions - adding STABLE/IMMUTABLE attribute. 2014-05-30 12:11:20 -05:00
Carlos Ruiz 6fc6478b92 dos2unix on pl/pgsql functions
Add BOM_Qty_AvailableASI, nextIDFunc
2008-11-01 02:07:34 +00:00
Heng Sin Low c208946175 * previous version of addDays cause infinite loop 2007-01-26 14:59:56 +00:00
Heng Sin Low b0e6e1552a * Implement trunc in pl/pgsql
* Implement additional functions that is using the plsql version even when running on oracle sqlj
* Modified timestamp manipulation function to return date to align with the oracle convention
2007-01-26 09:54:54 +00:00