Reject out-of-range dates in to_date().
Reject out-of-range dates in to_date().

Dates outside the supported range could be entered, but would not print
reasonably, and operations such as conversion to timestamp wouldn't behave
sanely either.  Since this has the potential to result in undumpable table
data, it seems worth back-patching.

Hitoshi Harada

kmjungersen/PostgresXL,postmind-net/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,kmjungersen/PostgresXL,postmind-net/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,postmind-net/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,arcivanov/postgres-xl,arcivanov/postgres-xl