printing oid with %d

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: printing oid with %d
Date: 2020-07-28 01:55:23
Message-ID: 20200728015523.GA27308@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

+JsonEncodeDateTime(char *buf, Datum value, Oid typid)
...
+ elog(ERROR, "unknown jsonb value datetime type oid %d", typid);

I think this should be %u.

commit cc4feded0a31d2b732d4ea68613115cb720e624e
Author: Andrew Dunstan <andrew(at)dunslane(dot)net>
Date: Tue Jan 16 19:07:13 2018 -0500

Centralize json and jsonb handling of datetime types

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2020-07-28 02:25:54 Re: max_slot_wal_keep_size and wal_keep_segments
Previous Message Thomas Munro 2020-07-28 01:35:45 Re: stress test for parallel workers