dexdyne <davidc(at)dexdyne(dot)com> writes:
> So it looks as if date_trunc is taking either type and returning a value of
> the same type.
Yes, as \df would have told you.
> A perfectly reasonable thing to do - but does that correspond with the
> documentation?
Could be a bit more specific, perhaps.
regards, tom lane