Index: pgjdbc.xml =================================================================== RCS file: /usr/local/cvsroot/pgjdbc/pgjdbc/doc/pgjdbc.xml,v retrieving revision 1.27 diff -c -r1.27 pgjdbc.xml *** pgjdbc.xml 24 Nov 2005 06:36:03 -0000 1.27 --- pgjdbc.xml 22 Mar 2006 14:43:27 -0000 *************** *** 2040,2045 **** --- 2040,2058 ---- extract(year from arg1) + + timestampadd(argIntervalType,argCount,argTimeStamp) + yes + ('(interval according to argIntervalType and argCount)'+argTimeStamp) + an argIntervalType value of SQL_TSI_FRAC_SECOND is not implemented since backend does not support it + + + timestampdiff(argIntervalType,argTimeStamp1,argTimeStamp2) + yes + extract((interval according to argIntervalType) from argTimeStamp2-argTimeStamp1 ) + an argIntervalType value of SQL_TSI_FRAC_SECOND or SQL_TSI_WEEK are not implemented since backend does not support it. + You may note that SQL_TSI_MONTH, SQL_TSI_QUARTER, SQL_TSI_YEAR are giving unexpected results since the backend assumes that there are 0 year in 900 days, 1 quarter in 900 days or 0 month in 92 days. +