Re: printing oid with %d
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Justin Pryzby <pryzby@telsasoft.com>, pgsql-hackers@postgresql.org,
Andrew Dunstan <andrew@dunslane.net>
Date: 2020-07-28T14:35:54Z
Lists: 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
Commits
-
Fix incorrect print format in json.c
- f2130e77da51 14.0 landed
-
Centralize json and jsonb handling of datetime types
- cc4feded0a31 11.0 cited