Michael Paquier <michael(at)paquier(dot)xyz> writes:
> Good catch. Yep, Oids are unsigned. We don't backpatch such things
> usually, do we? Particularly, this one should not be triggerable
> normally because no code paths should call JsonEncodeDateTime() with
> an unsupported type Oid.
Yeah, given that it should be an unreachable case, there's likely
no need to back-patch.
regards, tom lane