Hello, I've discovered a bug in the date_part function. It returns 25 when doing select date_part('day','2000-03-26'::date); Anyway, this isn't happening if casting the date to timestamp select date_part('day','2000-03-26'::timestamp); Alexander
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных