I wrote:
> So at this point, yeah that's a bug we should fix.
> I'll look into it later if nobody beats me to it.
It is failing because it sees an "unhandled prefix type",
that is ptype still nonzero after the parsing loop
in DecodeTimeOnly. We need to reset ptype, as is done
in the comparable case in DecodeDateTime.
regards, tom lane