Re: printing oid with %d - Mailing list pgsql-hackers

From Tom Lane
Subject Re: printing oid with %d
Date
Msg-id 1185272.1595946954@sss.pgh.pa.us
Whole thread Raw
In response to Re: printing oid with %d  (Michael Paquier <michael@paquier.xyz>)
Responses Re: printing oid with %d  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.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



pgsql-hackers by date:

Previous
From: Asif Rehman
Date:
Subject: Re: proposal: unescape_text function
Next
From: Hamid Akhtar
Date:
Subject: Re: Rethinking opclass member checks and dependency strength