The following SELECT are errors?!
tpcr=# select extract (week from date '2000-01-01'); date_part----------- 52(1 row)
tpcr=# select extract (week from date '2000-01-02'); date_part----------- 52(1 row)
Please check ...
thanksHans