Tom Lane wrote:
> Try coercing the sum result back to a date.
Yup, that does the trick.
As usual, thanks Tom.
-Jon
PS: Is this optimizable? (ie: have the coersion be implicit in
situations like this). It sure seems like it is a good candidate...
--
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
Jon Lapham
Extracta Moléculas Naturais, Rio de Janeiro, Brasil
email: lapham(at)extracta(dot)com(dot)br web: http://www.extracta.com.br/
***-*--*----*-------*------------*--------------------*---------------