> My question is, weather a script with timespan_part() is working
> properly in PostgreSQL 7.1.
No. That function was deprecated for 7.0. And did not need to be called
explicitly in any version; date_part() was always the preferred choice.
afaicr...
- Thomas