pgsql-bugs(at)postgresql(dot)org writes:
> The problem of date representation of 22/05/1977 and 28/05/1978 is
> related with time zone.
What do you get if you coerce the funny dates to timestamp, eg,
select '22/05/1977'::date::timestamp;
regards, tom lane