Fix a crash.
Abort processing when fatal package is sent.
Calendar.YMD: Improved dwim_time().

dwim-time() now knows about ISO 9601 timestamps with colons.

Fixes [roxen.com #23993].
Make cast() protected.
pgsql: Improve backtraces in debugging mode.