<dazo(at)netcom(dot)no> writes:
> The problem with upgrading from v6.5.x to v7.x.x is that the v7.x.x
> don't handle datetime functions with fields "containing" null. So we
> had to create our own datetime convertion variant to support this.
This is fixed in 7.1 --- you might want to forget 7.0.* and go straight
to 7.1.
regards, tom lane