There's a bug in datetime.c when it handles errors converting text into
various date formats. It tries to avoid palloc'ing a cstring copy of the input
by storing it in a stack variable instead but that means it can't handle
inputs over MAXDATELEN. So it throws an error but passes the varlena
Gregory Stark [EMAIL PROTECTED] writes:
There's a bug in datetime.c when it handles errors converting text into
various date formats. It tries to avoid palloc'ing a cstring copy of the in=
put
by storing it in a stack variable instead but that means it can't handle
inputs over MAXDATELEN. So